summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-02-28 17:28:09 -0800
committerTony Lindgren <tony@atomide.com>2012-02-28 17:33:41 -0800
commit1b35af54ee9cbbdd13fed53fd4acb0952ba522e1 (patch)
treeb8c42ecbc09d38ff75726c6cad7f310257d95e6e
parenta5bee307ba7befc96a97915d6d45ffbe1e5f9a20 (diff)
ARM: OMAP2+: Fix L4_EMU_34XX_BASE error after iomap changes
With the introduction of iomap changes platform init code fails for emu.c if CONFIG_OMAP3_EMU is selected: arch/arm/mach-omap2/emu.c:35:8: error: 'L4_EMU_34XX_BASE' undeclared here (not in a function) Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/mach-omap2/emu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/emu.c b/arch/arm/mach-omap2/emu.c
index 7c9beba51a1..e28e761b7ab 100644
--- a/arch/arm/mach-omap2/emu.c
+++ b/arch/arm/mach-omap2/emu.c
@@ -21,6 +21,8 @@
#include <linux/clk.h>
#include <linux/err.h>
+#include <mach/hardware.h>
+
#include "iomap.h"
MODULE_LICENSE("GPL");