Au1x00: fix crash when trying register_netdev()
authorAlexander Beregalov <a.beregalov@gmail.com>
Mon, 23 Nov 2009 04:40:52 +0000 (20:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Nov 2009 04:40:52 +0000 (20:40 -0800)
commit63edaf647607795a065e6956a79c47f500dc8447
treefd2d0d2381d0e0f6ded74961d0ab934d9869e99a
parent5d09e534bbb94e1fdc8e4783ac822bc172465a91
Au1x00: fix crash when trying register_netdev()

Andreas Lohre reported that the driver crashes when trying
to register_netdev(), he sugessted to move dev->netdev_ops initialization
before calling register_netdev(), it worked for him.

Reported-by: Andreas Lohre <alohre@gmail.com>
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/au1000_eth.c