Browse Source

[ARM] arch/arm/kernel/isa.c: missing definition of register_isa_ports

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>
Ben Dooks 16 years ago
parent
commit
87e0d6cca1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/arm/kernel/isa.c

+ 1 - 0
arch/arm/kernel/isa.c

@@ -16,6 +16,7 @@
 #include <linux/fs.h>
 #include <linux/fs.h>
 #include <linux/sysctl.h>
 #include <linux/sysctl.h>
 #include <linux/init.h>
 #include <linux/init.h>
+#include <linux/io.h>
 
 
 static unsigned int isa_membase, isa_portbase, isa_portshift;
 static unsigned int isa_membase, isa_portbase, isa_portshift;