mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-12 00:10:15 +02:00
use set_irq_chip_and_handler (#2408)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8852 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
945335ea40
commit
ba7d1c517e
@ -276,7 +276,9 @@ static int vlynq_setup_irq(struct vlynq_device *dev)
|
|||||||
handle_level_irq);
|
handle_level_irq);
|
||||||
set_irq_chip_data(dev->irq_start + i, dev);
|
set_irq_chip_data(dev->irq_start + i, dev);
|
||||||
} else {
|
} 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);
|
set_irq_chip_data(dev->irq_start + i, dev);
|
||||||
vlynq_reg_write(dev->remote->int_device[i >> 2], 0);
|
vlynq_reg_write(dev->remote->int_device[i >> 2], 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user