ARM: orion5x: make orion5x_legacy_handle_irq static
PATCH 1/1 ARM: orion5x: make orion5x_legacy_handle_irq static
The orion5x_legacy_handle_irq() is not used or declared outside of irq.c so make it static to avoid the following warning:
arch/arm/mach-orion5x/irq.c:30:23: warning: symbol 'orion5x_legacy_handle_irq' was not declared. Should it be static?
---
Cc: Jason Cooper <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Sebastian Hesselbarth <[email protected]>
Cc: Gregory Clement <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org
--- arch/arm/mach-orion5x/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-orion5x/irq.c +1 -1
@@ -26,7 +26,7 @@ static int __initdata gpio0_irqs[4] = { IRQ_ORION5X_GPIO_24_31, }; -asmlinkage void +static asmlinkage void__exception_irq_entry orion5x_legacy_handle_irq (struct pt_regs *regs) {u32 stat;
Signature · 1 line
2.8.1
Andrew Lunn
maintainerPATCH 1/1 ARM: orion5x: make orion5x_legacy_handle_irq static
Quoted 6 lines · Ben Dooks
The
orion5x_legacy_handle_irq()is not used or declared outside ofirq.cso make it static to avoid the following warning:
arch/arm/mach-orion5x/irq.c:30:23: warning: symbol 'orion5x_legacy_handle_irq' was not declared. Should it be static?Signed-off-by Ben Dooks <[email protected]>
Andrew
PATCH 1/1 ARM: orion5x: make orion5x_legacy_handle_irq static
In reply to Ben DooksHi Ben,
Quoted 6 lines · Ben Dooks
The
orion5x_legacy_handle_irq()is not used or declared outside ofirq.cso make it static to avoid the following warning:
arch/arm/mach-orion5x/irq.c:30:23: warning: symbol 'orion5x_legacy_handle_irq' was not declared. Should it be static?Signed-off-by Ben Dooks <[email protected]>
Applied on mvebu/cleanup
Thanks,
Gregory
Quoted 26 lines
---
Cc: Jason Cooper <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Sebastian Hesselbarth <[email protected]>
Cc: Gregory Clement <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org--- arch/arm/mach-orion5x/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-orion5x/irq.c +1
-1@@ -26,7 +26,7 @@ static int __initdata gpio0_irqs[4] = { IRQ_ORION5X_GPIO_24_31, }; -asmlinkage void +static asmlinkage void__exception_irq_entry orion5x_legacy_handle_irq (struct pt_regs *regs) {u32 stat;Signature · 1 line
2.8.1
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com