bnx2x: Fix compilation when CONFIG_BNX2X_SRIOV is not set
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Wed, 26 Mar 2014 07:06:29 +0000 (09:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Mar 2014 18:29:17 +0000 (14:29 -0400)
commit19915f53af472e97d67a43b7b43f50af2830a1a8
tree88a1877bdb71890af9323802121eb8e8e9b6d80b
parentb5b6bc32a380cf3d40dd0019e900815a06f6dc3b
bnx2x: Fix compilation when CONFIG_BNX2X_SRIOV is not set

Commit 370d4a26 "bnx2x: Create workqueue for IOV related tasks" breaks bnx2x
compilation when CONFIG_BNX2X_SRIOV is not set - "multiple definition of
`bnx2x_schedule_iov_task'".

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h