summaryrefslogtreecommitdiff
path: root/target/linux/adm5120-2.6/files/drivers/net
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-03-28 18:14:07 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-03-28 18:14:07 +0000
commit74304a4323198b46e6e1a6606e12ca79e7f4ba26 (patch)
tree51cfe15283bf25db5afa41aa41ed89872b92cc74 /target/linux/adm5120-2.6/files/drivers/net
parent447b0f537ae94134043a76d798f01e78ef18bfe1 (diff)
downloadmtk-20170518-74304a4323198b46e6e1a6606e12ca79e7f4ba26.zip
mtk-20170518-74304a4323198b46e6e1a6606e12ca79e7f4ba26.tar.gz
mtk-20170518-74304a4323198b46e6e1a6606e12ca79e7f4ba26.tar.bz2
Fix the irq request
SVN-Revision: 6748
Diffstat (limited to 'target/linux/adm5120-2.6/files/drivers/net')
-rw-r--r--target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c b/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c
index f6a0c74..fb1752b 100644
--- a/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c
+++ b/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c
@@ -385,7 +385,7 @@ static int __init adm5120_sw_init(void)
int i, err;
struct net_device *dev;
- err = request_irq(SW_IRQ, adm5120_sw_irq, SA_SHIRQ, "ethernet switch", NULL);
+ err = request_irq(SW_IRQ, adm5120_sw_irq, 0, "ethernet switch", NULL);
if (err)
goto out;