Fix the irq request

SVN-Revision: 6748
This commit is contained in:
Florian Fainelli 2007-03-28 18:14:07 +00:00
parent 447b0f537a
commit 74304a4323

View 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;