summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/emu.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-02-29 02:28:09 +0100
committerTony Lindgren <tony@atomide.com>2012-02-29 02:33:41 +0100
commit1b35af54ee9cbbdd13fed53fd4acb0952ba522e1 (patch)
treeb8c42ecbc09d38ff75726c6cad7f310257d95e6e /arch/arm/mach-omap2/emu.c
parentMerge branch 'iomap' into cleanup (diff)
downloadlinux-1b35af54ee9cbbdd13fed53fd4acb0952ba522e1.tar.xz
linux-1b35af54ee9cbbdd13fed53fd4acb0952ba522e1.zip
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>
Diffstat (limited to 'arch/arm/mach-omap2/emu.c')
-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 7c9beba51a11..e28e761b7ab9 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");