summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/files
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 /target/linux/adm5120/files
parentd256f20adcc54ff498b54a933281eff527d004dd (diff)
downloadmtk-20170518-fd6bfeaf65357a4dd374d377b59e13de53a9b90c.zip
mtk-20170518-fd6bfeaf65357a4dd374d377b59e13de53a9b90c.tar.gz
mtk-20170518-fd6bfeaf65357a4dd374d377b59e13de53a9b90c.tar.bz2
adm5120: don't use IRQF_DISABLED flag in the switch driver
SVN-Revision: 19017
Diffstat (limited to 'target/linux/adm5120/files')
-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 06a69fd..09cb909 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;