mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03: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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user