bnx2x: Fix compilation when CONFIG_BNX2X_SRIOV is not set
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 30 Jul 2015 11:30:29 +0000 (14:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 16:52:18 +0000 (09:52 -0700)
commitce7fa78ce16e476a610e165dd0e8c1e85a75d60f
tree47d9164d9855e797f8869d1721785670b48012a4
parentcfcbe858f26f6450aa0cb3ab26b3a0a058b348d5
bnx2x: Fix compilation when CONFIG_BNX2X_SRIOV is not set

Commit 05cc5a39ddb7 ("bnx2x: add vlan filtering offload") has broken
compilation when CONFIG_BNX2X_SRIOV is not set.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h