diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-01-08 10:42:41 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-01-08 10:53:08 -0500 |
commit | 39ebfd3f0d58a89f29097f99a1de50c096375ee2 (patch) | |
tree | 20cbfc71a5dbf8aef00cba97567d15e1dc45e4eb /arch/arm | |
parent | 87e0d6cca16a7c9ec446d82a465077a0f99171de (diff) |
[ARM] footbridge: add isa_init_irq() to common header
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-footbridge/common.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/common.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/isa-irq.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-footbridge/common.c b/arch/arm/mach-footbridge/common.c index 36ff06d4df15..aad270b76311 100644 --- a/arch/arm/mach-footbridge/common.c +++ b/arch/arm/mach-footbridge/common.c | |||
@@ -28,8 +28,6 @@ | |||
28 | 28 | ||
29 | #include "common.h" | 29 | #include "common.h" |
30 | 30 | ||
31 | extern void __init isa_init_irq(unsigned int irq); | ||
32 | |||
33 | unsigned int mem_fclk_21285 = 50000000; | 31 | unsigned int mem_fclk_21285 = 50000000; |
34 | 32 | ||
35 | EXPORT_SYMBOL(mem_fclk_21285); | 33 | EXPORT_SYMBOL(mem_fclk_21285); |
diff --git a/arch/arm/mach-footbridge/common.h b/arch/arm/mach-footbridge/common.h index 580e31bbc711..b05e662d21ad 100644 --- a/arch/arm/mach-footbridge/common.h +++ b/arch/arm/mach-footbridge/common.h | |||
@@ -7,3 +7,4 @@ extern void isa_rtc_init(void); | |||
7 | extern void footbridge_map_io(void); | 7 | extern void footbridge_map_io(void); |
8 | extern void footbridge_init_irq(void); | 8 | extern void footbridge_init_irq(void); |
9 | 9 | ||
10 | extern void isa_init_irq(unsigned int irq); | ||
diff --git a/arch/arm/mach-footbridge/isa-irq.c b/arch/arm/mach-footbridge/isa-irq.c index 9ee80a211d3c..8bfd06aeb64d 100644 --- a/arch/arm/mach-footbridge/isa-irq.c +++ b/arch/arm/mach-footbridge/isa-irq.c | |||
@@ -28,6 +28,8 @@ | |||
28 | #include <asm/irq.h> | 28 | #include <asm/irq.h> |
29 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
30 | 30 | ||
31 | #include "common.h" | ||
32 | |||
31 | static void isa_mask_pic_lo_irq(unsigned int irq) | 33 | static void isa_mask_pic_lo_irq(unsigned int irq) |
32 | { | 34 | { |
33 | unsigned int mask = 1 << (irq & 7); | 35 | unsigned int mask = 1 << (irq & 7); |