aboutsummaryrefslogtreecommitdiffstats
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
commitfd6bfeaf65357a4dd374d377b59e13de53a9b90c (patch)
treebb3e3371f081836c2e59bdaa372dbbf85e9c1c4e
parentd256f20adcc54ff498b54a933281eff527d004dd (diff)
downloadupstream-fd6bfeaf65357a4dd374d377b59e13de53a9b90c.tar.gz
upstream-fd6bfeaf65357a4dd374d377b59e13de53a9b90c.tar.bz2
upstream-fd6bfeaf65357a4dd374d377b59e13de53a9b90c.zip
adm5120: don't use IRQF_DISABLED flag in the switch driver
SVN-Revision: 19017
-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;