]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
powerpc/DPAA: Fix compiling error
authorYork Sun <yorksun@freescale.com>
Mon, 8 Oct 2012 07:44:05 +0000 (07:44 +0000)
committerAndy Fleming <afleming@freescale.com>
Mon, 22 Oct 2012 19:31:14 +0000 (14:31 -0500)
FSL_HW_PORTAL_PME is used even when CONFIG_SYS_DPAA_PME is not defined.
Remove the #ifdef.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/include/asm/fsl_portals.h

index 5644044eb87b6870d0a21ae727b97b9d8f1cf7c5..9a764d25339d4f3bfdf75e2c4c076a8290448d1d 100644 (file)
@@ -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