mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 05:35:19 +02:00
adm5120: don't use IRQF_DISABLED flag in the switch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19017 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1552d61b6d
commit
1b6c5dcc54
@ -808,8 +808,8 @@ static int adm5120_if_open(struct net_device *dev)
|
|||||||
|
|
||||||
adm5120_if_napi_enable(dev);
|
adm5120_if_napi_enable(dev);
|
||||||
|
|
||||||
err = request_irq(dev->irq, adm5120_switch_irq,
|
err = request_irq(dev->irq, adm5120_switch_irq, IRQF_SHARED,
|
||||||
(IRQF_SHARED | IRQF_DISABLED), dev->name, dev);
|
dev->name, dev);
|
||||||
if (err) {
|
if (err) {
|
||||||
SW_ERR("unable to get irq for %s\n", dev->name);
|
SW_ERR("unable to get irq for %s\n", dev->name);
|
||||||
goto err;
|
goto err;
|
||||||
|
Loading…
Reference in New Issue
Block a user