summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-footbridge/isa-irq.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2009-01-08 15:42:41 +0000
committerBen Dooks <ben-linux@fluff.org>2009-01-08 15:53:08 +0000
commit39ebfd3f0d58a89f29097f99a1de50c096375ee2 (patch)
tree20cbfc71a5dbf8aef00cba97567d15e1dc45e4eb /arch/arm/mach-footbridge/isa-irq.c
parent87e0d6cca16a7c9ec446d82a465077a0f99171de (diff)
downloadblackbird-op-linux-39ebfd3f0d58a89f29097f99a1de50c096375ee2.tar.gz
blackbird-op-linux-39ebfd3f0d58a89f29097f99a1de50c096375ee2.zip
[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/mach-footbridge/isa-irq.c')
-rw-r--r--arch/arm/mach-footbridge/isa-irq.c2
1 files changed, 2 insertions, 0 deletions
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 @@
#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);
OpenPOWER on IntegriCloud