bnx2x: Fix build with SRIOV disabled.
authorDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2013 23:33:10 +0000 (18:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2013 23:33:10 +0000 (18:33 -0500)
commitfcf93a0a2f9d317c0bffc430ddf8950041d13265
tree1e20760a23bb543125111a5d13791cb6a3fd064c
parent2c15a154a0f8069830772bacf70de8184065ee93
bnx2x: Fix build with SRIOV disabled.

drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c: In function 'bnx2x_drv_info_ether_stat':
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:3302:46: error: dereferencing pointer to incomplete type
make[6]: *** [drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.o] Error 1

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c