Skip to content

Commit

Permalink
irqchip: vt8500: Staticize local symbols
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Thomas Gleixner committed Jul 5, 2013
1 parent d2e0847 commit e658718
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/irqchip/irq-vt8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ static struct irq_domain_ops vt8500_irq_domain_ops = {
.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;
int irqnr, virq;
Expand All @@ -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;
struct device_node *np = node;
Expand Down

0 comments on commit e658718

Please sign in to comment.