smsc911x: don't clobber driver_data
authorSteve Glendinning <steve.glendinning@smsc.com>
Fri, 26 Dec 2008 00:43:34 +0000 (16:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 00:43:34 +0000 (16:43 -0800)
commitdc26977f77dd3486b59516d2cc03627009c0d4c6
tree9c492758f057b38b40c50a91a37905b2ce560c58
parent7091e728c570157496e52296d2dbe816a6916836
smsc911x: don't clobber driver_data

smsc911x uses driver_data to store our net_device, don't overwrite this
with the mii_bus.

Reported and fixed by dfoley@telus.net.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c