hydra: Fix regression caused during net_device_ops conversion
commitbd268b8734fef4e3fdb9bde42a35cebac8346e0b
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 12 May 2011 09:11:39 +0000 (12 09:11 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 23 May 2011 18:22:59 +0000 (23 11:22 -0700)
tree64ea8583c4ed5874e79b188d9b466166b9a0556d
parent8a9524ac604f66b4880cec61fcf7772dc98059ea
hydra: Fix regression caused during net_device_ops conversion

commit 0b25e0157dfa236a0629c16c8ad6f222f633f682 upstream.

Changeset 5618f0d1193d6b051da9b59b0e32ad24397f06a4 ("hydra: convert to
net_device_ops") broke hydra by adding 8390.o to the link. That
meant that lib8390.c was included twice, once in hydra.c and once in
8390.c, subject to different macros. This patch reverts that by
avoiding the wrappers in 8390.c.

Fix based on commits 217cbfa856dc1cbc2890781626c4032d9e3ec59f ("mac8390:
fix regression caused during net_device_ops conversion") and
4e0168fa4842e27795a75b205a510f25b62181d9 ("mac8390: fix build with
NET_POLL_CONTROLLER").

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/Makefile
drivers/net/hydra.c