[U-Boot] [PATCH 02/28] powerpc/DPAA: Fix compiling error

York Sun yorksun at freescale.com
Mon Oct 8 19:44:05 CEST 2012


FSL_HW_PORTAL_PME is used even when CONFIG_SYS_DPAA_PME is not defined.
Remove the #ifdef.

Signed-off-by: York Sun <yorksun at freescale.com>
---
 arch/powerpc/include/asm/fsl_portals.h |    2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/powerpc/include/asm/fsl_portals.h b/arch/powerpc/include/asm/fsl_portals.h
index 5644044..9a764d2 100644
--- a/arch/powerpc/include/asm/fsl_portals.h
+++ b/arch/powerpc/include/asm/fsl_portals.h
@@ -32,9 +32,7 @@ enum fsl_dpaa_dev {
 	FSL_HW_PORTAL_FMAN2,
 #endif
 #endif
-#ifdef CONFIG_SYS_DPAA_PME
 	FSL_HW_PORTAL_PME,
-#endif
 #ifdef CONFIG_SYS_FSL_RAID_ENGINE
 	FSL_HW_PORTAL_RAID_ENGINE,
 #endif
-- 
1.7.9.5




More information about the U-Boot mailing list