diff options
author | ejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-20 02:22:03 +0000 |
---|---|---|
committer | ejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-20 02:22:03 +0000 |
commit | ba7d1c517eb346d3466193696076a8a271ccb133 (patch) | |
tree | 88dfc5a10978352a300ce6c85b705f43102278b3 /target/linux/ar7/files/arch | |
parent | 945335ea40430baf2772970f23d298f38a212c08 (diff) |
use set_irq_chip_and_handler (#2408)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8852 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/files/arch')
-rw-r--r-- | target/linux/ar7/files/arch/mips/ar7/vlynq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ar7/files/arch/mips/ar7/vlynq.c b/target/linux/ar7/files/arch/mips/ar7/vlynq.c index 083dd0bd0..4c0a86dba 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); } |