diff options
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r-- | drivers/net/bnx2x_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index ca4ed634d55..ffc7381969a 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -11731,7 +11731,7 @@ static void bnx2x_vlan_rx_register(struct net_device *dev, | |||
11731 | 11731 | ||
11732 | #endif | 11732 | #endif |
11733 | 11733 | ||
11734 | #if defined(HAVE_POLL_CONTROLLER) || defined(CONFIG_NET_POLL_CONTROLLER) | 11734 | #ifdef CONFIG_NET_POLL_CONTROLLER |
11735 | static void poll_bnx2x(struct net_device *dev) | 11735 | static void poll_bnx2x(struct net_device *dev) |
11736 | { | 11736 | { |
11737 | struct bnx2x *bp = netdev_priv(dev); | 11737 | struct bnx2x *bp = netdev_priv(dev); |
@@ -11755,7 +11755,7 @@ static const struct net_device_ops bnx2x_netdev_ops = { | |||
11755 | #ifdef BCM_VLAN | 11755 | #ifdef BCM_VLAN |
11756 | .ndo_vlan_rx_register = bnx2x_vlan_rx_register, | 11756 | .ndo_vlan_rx_register = bnx2x_vlan_rx_register, |
11757 | #endif | 11757 | #endif |
11758 | #if defined(HAVE_POLL_CONTROLLER) || defined(CONFIG_NET_POLL_CONTROLLER) | 11758 | #ifdef CONFIG_NET_POLL_CONTROLLER |
11759 | .ndo_poll_controller = poll_bnx2x, | 11759 | .ndo_poll_controller = poll_bnx2x, |
11760 | #endif | 11760 | #endif |
11761 | }; | 11761 | }; |