summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarch/arm/mach-mx5/devices_ccxmx5x.c2
-rw-r--r--arch/arm/plat-mxc/system.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices_ccxmx5x.c b/arch/arm/mach-mx5/devices_ccxmx5x.c
index d600daacc211..519f84735d18 100755
--- a/arch/arm/mach-mx5/devices_ccxmx5x.c
+++ b/arch/arm/mach-mx5/devices_ccxmx5x.c
@@ -46,7 +46,9 @@
#include <mach/gpio.h>
#include <mach/mmc.h>
#include <mach/mxc_dvfs.h>
+#if defined(CONFIG_MODULE_CCXMX53)
#include <mach/iomux-mx53.h>
+#endif
#include "devices_ccxmx5x.h"
diff --git a/arch/arm/plat-mxc/system.c b/arch/arm/plat-mxc/system.c
index 0ebb3fb8b1b8..099818b35abe 100644
--- a/arch/arm/plat-mxc/system.c
+++ b/arch/arm/plat-mxc/system.c
@@ -27,7 +27,9 @@
#include <linux/delay.h>
#include <asm/mach-types.h>
+#if defined(CONFIG_MODULE_CCXMX53)
#include <mach/iomux-mx53.h>
+#endif
#include <mach/hardware.h>
#include <mach/common.h>
#include <asm/proc-fns.h>