net/ethernet: ks8851_mll fix irq handling
authorJan Weitzel <j.weitzel@phytec.de>
Tue, 14 Feb 2012 21:35:15 +0000 (21:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2012 20:41:10 +0000 (15:41 -0500)
commit6c23e4132258be41218584cfb37a43d9346cdd64
tree2121139424540e89e1f5b2ead40c96db5cc0b12b
parent237114384ab22c174ec4641e809f8e6cbcfce774
net/ethernet: ks8851_mll fix irq handling

There a two different irq variables ks->irq and netdev->irq.
Only ks->irq is set on probe, so disabling irq in ks_start_xmit fails.

This patches remove ks->irq from private data and use only netdev->irq.

Tested on a kernel 3.0 based OMAP4430 SMP Board

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8851_mll.c