Commit f33e69ef authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Russell King

[ARM PATCH] 2477/1: Move double defined macro to header file

Patch from Thomas Gleixner

IRQ_DISPATCH is defined in two c files. Move it to the common header file.

Signed-off-by: Thomas Gleixner
Signed-off-by: Russell King
parent 6a5d4f1d
......@@ -157,8 +157,6 @@ static struct irqchip lpd7a40x_cpld_chip = {
.unmask = lh7a40x_unmask_cpld_irq,
};
#define IRQ_DISPATCH(irq) irq_desc[irq].handle ((irq), &irq_desc[irq], regs)
static void lpd7a40x_cpld_handler (unsigned int irq, struct irqdesc *desc,
struct pt_regs *regs)
{
......
......@@ -12,3 +12,5 @@ extern struct sys_timer lh7a40x_timer;
extern void lh7a400_init_irq (void);
extern void lh7a404_init_irq (void);
#define IRQ_DISPATCH(irq) irq_desc[irq].handle ((irq), &irq_desc[irq], regs)
......@@ -55,8 +55,6 @@ static struct irqchip lh7a40x_cpld_chip = {
.unmask = lh7a40x_unmask_cpld_irq,
};
#define IRQ_DISPATCH(irq) irq_desc[irq].handle ((irq), &irq_desc[irq], regs)
static void lh7a40x_cpld_handler (unsigned int irq, struct irqdesc *desc,
struct pt_regs *regs)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment