]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: OMAP2+: Fix build error after merge
authorTony Lindgren <tony@atomide.com>
Sat, 3 Mar 2012 17:47:45 +0000 (09:47 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Mar 2012 17:03:03 +0000 (09:03 -0800)
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 <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/cm2xxx_3xxx.c
arch/arm/mach-omap2/common.c
arch/arm/mach-omap2/control.c
arch/arm/mach-omap2/sdrc2xxx.c

index c79ed63601cad936af23663b66c027d3ad74b846..389f9f8b570c751dcdbf94d50e8e09521588dec7 100644 (file)
@@ -18,6 +18,8 @@
 #include <linux/err.h>
 #include <linux/io.h>
 
+#include <plat/hardware.h>
+
 #include "iomap.h"
 #include "common.h"
 #include "cm.h"
index 93419de4534a9da08ae3abacfd683f9667bfba46..1549c11000d32687190c7f86e742f018a8eba95f 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 
+#include <plat/hardware.h>
 #include <plat/board.h>
 #include <plat/mux.h>
 #include <plat/clock.h>
index 2fd5fd1abb4f765651e02909f607587310364467..08e674bb04171c2e6b81d97be51a7cab6e697d0c 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/kernel.h>
 #include <linux/io.h>
 
+#include <plat/hardware.h>
 #include <plat/sdrc.h>
 
 #include "iomap.h"
index 2c329a6f477884d22caa041750ba2eda336aa709..1133bb2f632b8316d9bf12011569df3cad982070 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 
+#include <plat/hardware.h>
 #include <plat/clock.h>
 #include <plat/sram.h>
 #include <plat/sdrc.h>