mac8390: fix build with NET_POLL_CONTROLLER
authorFinn Thain <fthain@telegraphics.com.au>
Thu, 28 May 2009 02:05:53 +0000 (02:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 May 2009 08:56:35 +0000 (01:56 -0700)
Fix the build for CONFIG_NET_POLL_CONTROLLER that I broke with
217cbfa856dc1cbc2890781626c4032d9e3ec59f ("mac8390: fix regression
caused during net_device_ops conversion").

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

index f26667d5eaaec9a4c8837528259665cff1513a6f..22e74a0e03619a7aab64f68fd7d5ff4189620fe3 100644 (file)
@@ -489,7 +489,7 @@ static const struct net_device_ops mac8390_netdev_ops = {
        .ndo_set_mac_address    = eth_mac_addr,
        .ndo_change_mtu         = eth_change_mtu,
 #ifdef CONFIG_NET_POLL_CONTROLLER
-       .ndo_poll_controller    = ei_poll,
+       .ndo_poll_controller    = __ei_poll,
 #endif
 };