aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/irq.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-04-21 15:39:23 -0400
committerDavid S. Miller <davem@davemloft.net>2014-04-29 01:12:25 -0400
commit5ac7568829b5a2c61285695acb18dce3c67e4cf5 (patch)
tree85be14050d3c5db60319d28c8c5d99864e6acb8b /arch/sparc/kernel/irq.h
parent2b399177dc58b28efa5937613760bdabfd5638f0 (diff)
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>
Diffstat (limited to 'arch/sparc/kernel/irq.h')
-rw-r--r--arch/sparc/kernel/irq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/kernel/irq.h b/arch/sparc/kernel/irq.h
index 97c07dead26b..3306e42e07b8 100644
--- a/arch/sparc/kernel/irq.h
+++ b/arch/sparc/kernel/irq.h
@@ -85,6 +85,9 @@ unsigned long leon_get_irqmask(unsigned int irq);
85/* sun4m_irq.c */ 85/* sun4m_irq.c */
86void sun4m_nmi(struct pt_regs *regs); 86void sun4m_nmi(struct pt_regs *regs);
87 87
88/* sun4d_irq.c */
89void sun4d_handler_irq(unsigned int pil, struct pt_regs *regs);
90
88#ifdef CONFIG_SMP 91#ifdef CONFIG_SMP
89 92
90/* All SUN4D IPIs are sent on this IRQ, may be shared with hard IRQs */ 93/* All SUN4D IPIs are sent on this IRQ, may be shared with hard IRQs */