]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: fix sparse warnings in sun4d_irq.c
authorSam Ravnborg <sam@ravnborg.org>
Mon, 21 Apr 2014 19:39:23 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 05:12:25 +0000 (01:12 -0400)
commitd6c6b9c0d3c16fec6a78c601293a3df2a688594c
tree85be14050d3c5db60319d28c8c5d99864e6acb8b
parentbf12f0bf29ca275405ec99db8d06efa7affda4fa
sparc32: fix sparse warnings in sun4d_irq.c

Fix following warnings:
sun4d_irq.c:146:6: warning: symbol 'sun4d_handler_irq' was not declared. Should it be static?
sun4d_irq.c:239:17: warning: symbol 'sun4d_irq' was not declared. Should it be static?
sun4d_irq.c:288:14: warning: symbol '_sun4d_build_device_irq' was not declared. Should it be static?
sun4d_irq.c:323:14: warning: symbol 'sun4d_build_device_irq' was not declared. Should it be static?
sun4d_irq.c:386:14: warning: symbol 'sun4d_build_timer_irq' was not declared. Should it be static?
sun4d_irq.c:482:13: warning: symbol 'sun4d_init_sbi_irq' was not declared. Should it be static?

Apply static when applicable, otherwise add prototype

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/irq_32.h
arch/sparc/kernel/irq.h
arch/sparc/kernel/sun4d_irq.c