Fix the irq request
authorFlorian Fainelli <florian@openwrt.org>
Wed, 28 Mar 2007 18:14:07 +0000 (18:14 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 28 Mar 2007 18:14:07 +0000 (18:14 +0000)
SVN-Revision: 6748

target/linux/adm5120-2.6/files/drivers/net/adm5120sw.c

index f6a0c74d867783215db8aed56aa574ef1d65c70e..fb1752b631f2e8266350c515994cf919202813f5 100644 (file)
@@ -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;