mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
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>
This commit is contained in:
parent
cb2bb5de64
commit
fc05c24db0
@ -26,7 +26,7 @@ static int __initdata gpio0_irqs[4] = {
|
|||||||
IRQ_ORION5X_GPIO_24_31,
|
IRQ_ORION5X_GPIO_24_31,
|
||||||
};
|
};
|
||||||
|
|
||||||
asmlinkage void
|
static asmlinkage void
|
||||||
__exception_irq_entry orion5x_legacy_handle_irq(struct pt_regs *regs)
|
__exception_irq_entry orion5x_legacy_handle_irq(struct pt_regs *regs)
|
||||||
{
|
{
|
||||||
u32 stat;
|
u32 stat;
|
||||||
|
Loading…
Reference in New Issue
Block a user