mac8390: fix regression caused during net_device_ops conversion
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 26 May 2009 05:43:49 +0000 (22:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 May 2009 05:43:49 +0000 (22:43 -0700)
commit217cbfa856dc1cbc2890781626c4032d9e3ec59f
tree0b78f91f572f19014cb42b4b51f4a12c87d2cf48
parent4e2fd555199977c5994d1a4d2d3b8761b20ca4c7
mac8390: fix regression caused during net_device_ops conversion

Changeset ca17584bf2ad1b1e37a5c0e4386728cc5fc9dabc ("mac8390: update
to net_device_ops") broke mac8390 by adding 8390.o to the link. That
meant that lib8390.c was included twice, once in mac8390.c and once in
8390.c, subject to different macros. This patch reverts that by
avoiding the wrappers in 8390.c. They seem to be of no value since
COMPAT_NET_DEV_OPS is going away soon.

Tested with a Kinetics EtherPort card.

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