]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: orion5x: make orion5x_legacy_handle_irq static
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 9 Jun 2016 09:59:05 +0000 (10:59 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 16 Jun 2016 09:57:59 +0000 (11:57 +0200)
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?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/mach-orion5x/irq.c

index de980ef9cda1103e713013d0e71ee1ff88ea510b..ac4af2283bef9959b23601c666ee4bb6e724d3e0 100644 (file)
@@ -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;