From 2b43e4e5863fb41d85c3a6583fdeea2ebf3d2b50 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Sat, 3 Mar 2012 09:47:45 -0800 Subject: ARM: OMAP2+: Fix build error after merge Commit 9890ce44 (ARM: get rid of asm/irq.h in asm/prom.h) removed include of asm/irq.h in asm/prom.h. This commit together with recent omap cleanup to remove io.h causes build breakage: arrch/arm/mach-omap2/control.c: In function 'omap3_ctrl_write_boot_mode': arch/arm/mach-omap2/control.c:238: error: 'OMAP343X_CTRL_BASE' undeclared (first use in this function) ... Fix this by including hardware.h directly where needed instead of relying on asm/irq.h in asm/prom.h. Reported-by: Russell King Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/sdrc2xxx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-omap2/sdrc2xxx.c') diff --git a/arch/arm/mach-omap2/sdrc2xxx.c b/arch/arm/mach-omap2/sdrc2xxx.c index 2c329a6f4778..1133bb2f632b 100644 --- a/arch/arm/mach-omap2/sdrc2xxx.c +++ b/arch/arm/mach-omap2/sdrc2xxx.c @@ -24,6 +24,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3-55-g7522