aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-03 12:14:19 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-03 12:14:19 +0000
commit7784039451573052ec01e3f7f6a73ed46c30b417 (patch)
treeb9832d0380efbc953fe800e09785e465067eecb8 /target/linux/adm5120
parent56b43ecd258b91136722d6b7e94ea4bbe37f1dd7 (diff)
downloadupstream-7784039451573052ec01e3f7f6a73ed46c30b417.tar.gz
upstream-7784039451573052ec01e3f7f6a73ed46c30b417.tar.bz2
upstream-7784039451573052ec01e3f7f6a73ed46c30b417.zip
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
Diffstat (limited to 'target/linux/adm5120')
-rw-r--r--target/linux/adm5120/files/drivers/net/adm5120sw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/adm5120/files/drivers/net/adm5120sw.c b/target/linux/adm5120/files/drivers/net/adm5120sw.c
index 06a69fd50e..09cb9097e8 100644
--- a/target/linux/adm5120/files/drivers/net/adm5120sw.c
+++ b/target/linux/adm5120/files/drivers/net/adm5120sw.c
@@ -808,8 +808,8 @@ static int adm5120_if_open(struct net_device *dev)
adm5120_if_napi_enable(dev);
- err = request_irq(dev->irq, adm5120_switch_irq,
- (IRQF_SHARED | IRQF_DISABLED), dev->name, dev);
+ err = request_irq(dev->irq, adm5120_switch_irq, IRQF_SHARED,
+ dev->name, dev);
if (err) {
SW_ERR("unable to get irq for %s\n", dev->name);
goto err;