[ARM] 4483/1: ns9xxx: fix three sparse warnings: symbol 'xyz' was not declared.

make ns9xxx_ack_irq_functions static and add one include to get declarations
for ns9xxx_map_io and ns9xxx_init_machine.

Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Uwe Kleine-König and committed by Russell King aa4db079 3f20246b

+3 -1
+2
arch/arm/mach-ns9xxx/generic.c
··· 18 18 #include <asm/arch-ns9xxx/regs-mem.h> 19 19 #include <asm/arch-ns9xxx/board.h> 20 20 21 + #include "generic.h" 22 + 21 23 static struct map_desc standard_io_desc[] __initdata = { 22 24 { /* BBus */ 23 25 .virtual = io_p2v(0x90000000),
+1 -1
arch/arm/mach-ns9xxx/irq.c
··· 28 28 SYS_TC(irq - IRQ_TIMER0) = tc; 29 29 } 30 30 31 - void (*ns9xxx_ack_irq_functions[NR_IRQS])(unsigned int) = { 31 + static void (*ns9xxx_ack_irq_functions[NR_IRQS])(unsigned int) = { 32 32 [IRQ_TIMER0] = ns9xxx_ack_irq_timer, 33 33 [IRQ_TIMER1] = ns9xxx_ack_irq_timer, 34 34 [IRQ_TIMER2] = ns9xxx_ack_irq_timer,