use set_irq_chip_and_handler (#2408)
[openwrt/svn-archive/archive.git] / target / linux / ar7 / files / arch / mips / ar7 / vlynq.c
index 083dd0bd02bfea71ccef98f07ded22ed14846623..4c0a86dbaf37eca2e4a95ede44c213706eebde7a 100644 (file)
@@ -276,7 +276,9 @@ static int vlynq_setup_irq(struct vlynq_device *dev)
                                                 handle_level_irq);
                        set_irq_chip_data(dev->irq_start + i, dev);
                } else {
-                       set_irq_chip(dev->irq_start + i, &vlynq_irq_chip);
+                       set_irq_chip_and_handler(dev->irq_start + i,
+                                                &vlynq_irq_chip,
+                                                handle_simple_irq);
                        set_irq_chip_data(dev->irq_start + i, dev);
                        vlynq_reg_write(dev->remote->int_device[i >> 2], 0);
                }