From 1af0f14c44ace2ee1903f5812f3b6f6828e8ac01 Mon Sep 17 00:00:00 2001 From: Eugene Konev Date: Thu, 20 Sep 2007 02:22:03 +0000 Subject: [PATCH] use set_irq_chip_and_handler (#2408) SVN-Revision: 8852 --- target/linux/ar7/files/arch/mips/ar7/vlynq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/ar7/files/arch/mips/ar7/vlynq.c b/target/linux/ar7/files/arch/mips/ar7/vlynq.c index 083dd0bd02..4c0a86dbaf 100644 --- a/target/linux/ar7/files/arch/mips/ar7/vlynq.c +++ b/target/linux/ar7/files/arch/mips/ar7/vlynq.c @@ -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); } -- 2.34.1