Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Axel Lin <axel.lin@ingics.com>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Cc: Olof Johansson <olof@lixom.net>
Link: http://lkml.kernel.org/r/1372995229.4038.1.camel@phoenix
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Axel Lin and committed by
Thomas Gleixner
e658718e d2e08473

+4 -2
+4 -2
drivers/irqchip/irq-vt8500.c
··· 178 178 .xlate = irq_domain_xlate_onecell, 179 179 }; 180 180 181 - asmlinkage void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs) 181 + static asmlinkage 182 + void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs) 182 183 { 183 184 u32 stat, i; 184 185 int irqnr, virq; ··· 204 203 } 205 204 } 206 205 207 - int __init vt8500_irq_init(struct device_node *node, struct device_node *parent) 206 + static int __init vt8500_irq_init(struct device_node *node, 207 + struct device_node *parent) 208 208 { 209 209 int irq, i; 210 210 struct device_node *np = node;