macsonic, jazzsonic: fix oops on module unload
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 21 Jul 2009 19:21:49 +0000 (12:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2009 19:21:49 +0000 (12:21 -0700)
commit4564cba71637d3b4ea3730f5637b21a9eb3c8999
tree1b33d48ab32e9b69c850e250eef27620c513c8a7
parent25177476675142d3ebd60849e0cebc46bd1eef8e
macsonic, jazzsonic: fix oops on module unload

Set the driver data before using it. Fixes an oops when doing rmmod.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/jazzsonic.c
drivers/net/macsonic.c