aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7
diff options
context:
space:
mode:
authorEugene Konev <ejka@imfi.kspu.ru>2007-09-20 02:22:03 +0000
committerEugene Konev <ejka@imfi.kspu.ru>2007-09-20 02:22:03 +0000
commit1af0f14c44ace2ee1903f5812f3b6f6828e8ac01 (patch)
tree648d048d6162d188f0611a73c67d2f10e2adef5b /target/linux/ar7
parent5fac6f67f1476d5a893650ef2597fe7febe2847b (diff)
downloadupstream-1af0f14c44ace2ee1903f5812f3b6f6828e8ac01.tar.gz
upstream-1af0f14c44ace2ee1903f5812f3b6f6828e8ac01.tar.bz2
upstream-1af0f14c44ace2ee1903f5812f3b6f6828e8ac01.zip
use set_irq_chip_and_handler (#2408)
SVN-Revision: 8852
Diffstat (limited to 'target/linux/ar7')
-rw-r--r--target/linux/ar7/files/arch/mips/ar7/vlynq.c4
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 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);
}