From: Ben Dooks Date: Thu, 9 Jun 2016 09:59:05 +0000 (+0100) Subject: ARM: orion5x: make orion5x_legacy_handle_irq static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fc05c24db0a602b54571d114a087bd1b251bae60;p=linux-beck.git 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? Signed-off-by: Ben Dooks Acked-by: Andrew Lunn Signed-off-by: Gregory CLEMENT --- diff --git a/arch/arm/mach-orion5x/irq.c b/arch/arm/mach-orion5x/irq.c index de980ef9cda1..ac4af2283bef 100644 --- a/arch/arm/mach-orion5x/irq.c +++ b/arch/arm/mach-orion5x/irq.c @@ -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;