Skip to content

Commit

Permalink
irqchip: sun4i: Staticize sun4i_irq_ack()
Browse files Browse the repository at this point in the history
sun4i_irq_ack() is only referenced in this file, so make it static.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: http://lkml.kernel.org/r/1373010070.14756.2.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 e658718 commit baaecfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/irqchip/irq-sun4i.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static struct irq_domain *sun4i_irq_domain;

static asmlinkage void __exception_irq_entry sun4i_handle_irq(struct pt_regs *regs);

void sun4i_irq_ack(struct irq_data *irqd)
static void sun4i_irq_ack(struct irq_data *irqd)
{
unsigned int irq = irqd_to_hwirq(irqd);
unsigned int irq_off = irq % 32;
Expand Down

0 comments on commit baaecfa

Please sign in to comment.