Commit e658718e authored by Axel Lin's avatar Axel Lin Committed by Thomas Gleixner

irqchip: vt8500: Staticize local symbols

This driver is converted to use IRQCHIP_DECLARE and irqchip_init.
vt8500_handle_irq() and vt8500_irq_init() are only referenced in this file, so
make them static.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarTony Prisk <linux@prisktech.co.nz>
Cc: Olof Johansson <olof@lixom.net>
Link: http://lkml.kernel.org/r/1372995229.4038.1.camel@phoenixSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent d2e08473
...@@ -178,7 +178,8 @@ static struct irq_domain_ops vt8500_irq_domain_ops = { ...@@ -178,7 +178,8 @@ static struct irq_domain_ops vt8500_irq_domain_ops = {
.xlate = irq_domain_xlate_onecell, .xlate = irq_domain_xlate_onecell,
}; };
asmlinkage void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs) static asmlinkage
void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
{ {
u32 stat, i; u32 stat, i;
int irqnr, virq; int irqnr, virq;
...@@ -203,7 +204,8 @@ asmlinkage void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs) ...@@ -203,7 +204,8 @@ asmlinkage void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
} }
} }
int __init vt8500_irq_init(struct device_node *node, struct device_node *parent) static int __init vt8500_irq_init(struct device_node *node,
struct device_node *parent)
{ {
int irq, i; int irq, i;
struct device_node *np = node; struct device_node *np = node;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment