From: Tom Rini <trini@konsulko.com>
Date: Thu, 5 Mar 2015 13:56:39 +0000 (-0500)
Subject: fsl_sec.h: Fix thinko
X-Git-Tag: v2025.01-rc5-pxa1908~13697
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=33d5156f769eeb640f3be4a003ce7907995dcc36;p=u-boot.git

fsl_sec.h: Fix thinko

In 0200020 we added a number of tests for 'if
defined(CONFIG_SYS_FSL_SEC_LE) && !defined(CONFIG_MX6)' and
accidentally did one as 'ifdef defined...'

Signed-off-by: Tom Rini <trini@konsulko.com>
---

diff --git a/include/fsl_sec.h b/include/fsl_sec.h
index dbfae68ef4..ebb1ac6d40 100644
--- a/include/fsl_sec.h
+++ b/include/fsl_sec.h
@@ -180,7 +180,7 @@ struct jr_regs {
  * related information
  */
 struct sg_entry {
-#ifdef defined(CONFIG_SYS_FSL_SEC_LE) && !defined(CONFIG_MX6)
+#if defined(CONFIG_SYS_FSL_SEC_LE) && !defined(CONFIG_MX6)
 	uint32_t addr_lo;	/* Memory Address - lo */
 	uint16_t addr_hi;	/* Memory Address of start of buffer - hi */
 	uint16_t reserved_zero;