]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] arch/arm/kernel/isa.c: missing definition of register_isa_ports
authorBen Dooks <ben-linux@fluff.org>
Thu, 8 Jan 2009 15:42:40 +0000 (15:42 +0000)
committerBen Dooks <ben-linux@fluff.org>
Thu, 8 Jan 2009 15:53:08 +0000 (15:53 +0000)
arch/arm/kernel/isa.c should include <linux/io.h> to get the
definition of register_io_ports() at-least when compiling for
footbridge to fix the following sparse warning:

isa.c:68:1: warning: symbol 'register_isa_ports' was not declared.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/kernel/isa.c

index 50a30bc91872652c5d8f68ad2d013ce9afed7503..8ac9b8424007457c72231f5f07942dff7fc3c76b 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/fs.h>
 #include <linux/sysctl.h>
 #include <linux/init.h>
+#include <linux/io.h>
 
 static unsigned int isa_membase, isa_portbase, isa_portshift;