[ARM] fix pnx4008
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 8 Jan 2009 11:00:03 +0000 (11:00 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Jan 2009 16:29:43 +0000 (16:29 +0000)
arch/arm/mach-pnx4008/include/mach/gpio.h:214: error: implicit declaration of function 'IO_ADDRESS'

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pnx4008/gpio.c
arch/arm/mach-pnx4008/i2c.c

index 015cc21d5f55ff382e3f28cf58afda8e04851529..f219914f5b291efdb9fdbe9391a26ac6c7307932 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/io.h>
+#include <mach/hardware.h>
 #include <mach/platform.h>
 #include <mach/gpio.h>
 
index 87c093286ff930eb079a0f1b9b5a1f88867ac1dc..f3fea29c00d3b3072008bf52f2c224370f544357 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/platform_device.h>
 #include <linux/err.h>
 #include <mach/platform.h>
+#include <mach/irqs.h>
 #include <mach/i2c.h>
 
 static int set_clock_run(struct platform_device *pdev)