aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-versatile/fpga-irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-versatile/fpga-irq.c')
-rw-r--r--arch/arm/plat-versatile/fpga-irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-versatile/fpga-irq.c b/arch/arm/plat-versatile/fpga-irq.c
index f21d838044c..f0cc8e19b09 100644
--- a/arch/arm/plat-versatile/fpga-irq.c
+++ b/arch/arm/plat-versatile/fpga-irq.c
@@ -64,8 +64,8 @@ void __init fpga_irq_init(int parent_irq, u32 valid, struct fpga_irq_data *f)
unsigned int irq = f->irq_start + i;
irq_set_chip_data(irq, f);
- irq_set_chip(irq, &f->chip);
- irq_set_handler(irq, handle_level_irq);
+ irq_set_chip_and_handler(irq, &f->chip,
+ handle_level_irq);
set_irq_flags(irq, IRQF_VALID | IRQF_PROBE);
}
}