Skip to content

Commit

Permalink
Merge tag 'renesas-intc-external-irq-for-v3.11' of git://git.kernel.o…
Browse files Browse the repository at this point in the history
…rg/pub/scm/linux/kernel/git/horms/renesas into next/fixes-non-critical

From Simon Horman:
Update for Renesas INTC External IRQ pin driver for v3.11

- Correct error handing in irqc_probe
- Add irqchip_init dummy function

* tag 'renesas-intc-external-irq-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  irqchip: Add irqchip_init dummy function
  irqchip: renesas-irqc: Fix irqc_probe error handling
  • Loading branch information
Olof Johansson committed Jun 11, 2013
2 parents 4d8f509 + 0d7c121 commit 143b9d0
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/irqchip/irq-renesas-irqc.c
Original file line number Diff line number Diff line change
@@ -248,8 +248,8 @@ static int irqc_probe(struct platform_device *pdev)

return 0;
err3:
for (; k >= 0; k--)
free_irq(p->irq[k - 1].requested_irq, &p->irq[k - 1]);
while (--k >= 0)
free_irq(p->irq[k].requested_irq, &p->irq[k]);

irq_domain_remove(p->irq_domain);
err2:
4 changes: 4 additions & 0 deletions include/linux/irqchip.h
Original file line number Diff line number Diff line change
@@ -11,6 +11,10 @@
#ifndef _LINUX_IRQCHIP_H
#define _LINUX_IRQCHIP_H

#ifdef CONFIG_IRQCHIP
void irqchip_init(void);
#else
static inline void irqchip_init(void) {}
#endif

#endif

0 comments on commit 143b9d0

Please sign in to comment.