aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r--drivers/net/bnx2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index a7b6b12c1c05..5917b941aca2 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -7668,7 +7668,7 @@ bnx2_change_mtu(struct net_device *dev, int new_mtu)
7668 return (bnx2_change_ring_size(bp, bp->rx_ring_size, bp->tx_ring_size)); 7668 return (bnx2_change_ring_size(bp, bp->rx_ring_size, bp->tx_ring_size));
7669} 7669}
7670 7670
7671#if defined(HAVE_POLL_CONTROLLER) || defined(CONFIG_NET_POLL_CONTROLLER) 7671#ifdef CONFIG_NET_POLL_CONTROLLER
7672static void 7672static void
7673poll_bnx2(struct net_device *dev) 7673poll_bnx2(struct net_device *dev)
7674{ 7674{
@@ -8280,7 +8280,7 @@ static const struct net_device_ops bnx2_netdev_ops = {
8280#ifdef BCM_VLAN 8280#ifdef BCM_VLAN
8281 .ndo_vlan_rx_register = bnx2_vlan_rx_register, 8281 .ndo_vlan_rx_register = bnx2_vlan_rx_register,
8282#endif 8282#endif
8283#if defined(HAVE_POLL_CONTROLLER) || defined(CONFIG_NET_POLL_CONTROLLER) 8283#ifdef CONFIG_NET_POLL_CONTROLLER
8284 .ndo_poll_controller = poll_bnx2, 8284 .ndo_poll_controller = poll_bnx2,
8285#endif 8285#endif
8286}; 8286};