]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[ARM] footbridge: add isa_init_irq() to common header
authorBen Dooks <ben-linux@fluff.org>
Thu, 8 Jan 2009 15:42:41 +0000 (15:42 +0000)
committerBen Dooks <ben-linux@fluff.org>
Thu, 8 Jan 2009 15:53:08 +0000 (15:53 +0000)
isa_init_irq() is defined in arch/arm/mach-footbridge/isa-irq.c
and used in arch/arm/mach-footbridge/common.c but there is no
definition in any header. Move the definition in common.c to
common.h to stop the sparse warning:

isa-irq.c:118:13: warning: symbol 'isa_init_irq' was not declared.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-footbridge/common.c
arch/arm/mach-footbridge/common.h
arch/arm/mach-footbridge/isa-irq.c

index 36ff06d4df15e30ba0272ee5645a811aa0f6b9cf..aad270b763111ee3c563572cfd1d5f3ef42024f0 100644 (file)
@@ -28,8 +28,6 @@
 
 #include "common.h"
 
-extern void __init isa_init_irq(unsigned int irq);
-
 unsigned int mem_fclk_21285 = 50000000;
 
 EXPORT_SYMBOL(mem_fclk_21285);
index 580e31bbc711847599b6a5b8d385549c0ead619e..b05e662d21ad8162ec21542849116efb05fda0a2 100644 (file)
@@ -7,3 +7,4 @@ extern void isa_rtc_init(void);
 extern void footbridge_map_io(void);
 extern void footbridge_init_irq(void);
 
+extern void isa_init_irq(unsigned int irq);
index 9ee80a211d3cb670e71c8fcb58127193485dc392..8bfd06aeb64d3e5910bc21996e36df1241886fd0 100644 (file)
@@ -28,6 +28,8 @@
 #include <asm/irq.h>
 #include <asm/mach-types.h>
 
+#include "common.h"
+
 static void isa_mask_pic_lo_irq(unsigned int irq)
 {
        unsigned int mask = 1 << (irq & 7);