diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-09 09:59:05 (GMT) |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-06-16 09:57:59 (GMT) |
commit | fc05c24db0a602b54571d114a087bd1b251bae60 (patch) | |
tree | 2e015f2f56f79c8e0258576844c554caa706813d | |
parent | cb2bb5de64d1620e8fea432d014c29c7daf39e23 (diff) | |
download | linux-fc05c24db0a602b54571d114a087bd1b251bae60.tar.xz |
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 <ben.dooks@codethink.co.uk>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r-- | arch/arm/mach-orion5x/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/irq.c b/arch/arm/mach-orion5x/irq.c index de980ef..ac4af22 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; |