[ARM] Fix realview build
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 8 Jan 2009 09:58:51 +0000 (09:58 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Jan 2009 16:29:41 +0000 (16:29 +0000)
arch/arm/mach-realview/platsmp.c:140: error: 'jiffies' undeclared (first use in this function)
drivers/amba/bus.c:246: error: 'NO_IRQ' undeclared (first use in this function)

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/platsmp.c
drivers/amba/bus.c
drivers/video/amba-clcd.c

index 8fce85f330332d6ffbb27d2a4186a8117c5bccaa..ea3c75595fa9a575d021a82c7d6c4e92e8510b6e 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/errno.h>
 #include <linux/delay.h>
 #include <linux/device.h>
+#include <linux/jiffies.h>
 #include <linux/smp.h>
 #include <linux/io.h>
 
index 6b94fb7be5f280bbe2a8e5c0ddace6355cae0185..00c46e0b40e47eec54b2710f06cbe59d7308905f 100644 (file)
 #include <linux/device.h>
 #include <linux/string.h>
 #include <linux/slab.h>
+#include <linux/io.h>
 #include <linux/amba/bus.h>
 
-#include <asm/io.h>
+#include <asm/irq.h>
 #include <asm/sizes.h>
 
 #define to_amba_device(d)      container_of(d, struct amba_device, dev)
index 2ac52fd8cc11f67595a6368ea879bf40fde497fa..4e046fed1380e7b4f158b4fe4c576b825b575eca 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/amba/bus.h>
 #include <linux/amba/clcd.h>
 #include <linux/clk.h>
+#include <linux/hardirq.h>
 
 #include <asm/sizes.h>