aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-vt8500.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-07-04 23:33:49 -0400
committerThomas Gleixner <tglx@linutronix.de>2013-07-05 05:39:24 -0400
commite658718e478fb2591f38afd9643eab06698790fe (patch)
tree833891b56c94a97b2f08050c7fce0bf12c4c4cb3 /drivers/irqchip/irq-vt8500.c
parentd2e08473f2488d53a71c2f53455f934ec6c44c53 (diff)
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>
Diffstat (limited to 'drivers/irqchip/irq-vt8500.c')
-rw-r--r--drivers/irqchip/irq-vt8500.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-vt8500.c b/drivers/irqchip/irq-vt8500.c
index d97059550a2c..1846e7d66681 100644
--- a/drivers/irqchip/irq-vt8500.c
+++ b/drivers/irqchip/irq-vt8500.c
@@ -178,7 +178,8 @@ static struct irq_domain_ops vt8500_irq_domain_ops = {
178 .xlate = irq_domain_xlate_onecell, 178 .xlate = irq_domain_xlate_onecell,
179}; 179};
180 180
181asmlinkage void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs) 181static asmlinkage
182void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
182{ 183{
183 u32 stat, i; 184 u32 stat, i;
184 int irqnr, virq; 185 int irqnr, virq;
@@ -203,7 +204,8 @@ asmlinkage void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
203 } 204 }
204} 205}
205 206
206int __init vt8500_irq_init(struct device_node *node, struct device_node *parent) 207static int __init vt8500_irq_init(struct device_node *node,
208 struct device_node *parent)
207{ 209{
208 int irq, i; 210 int irq, i;
209 struct device_node *np = node; 211 struct device_node *np = node;