bnx2x: Fix compilation with no IOV support
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 24 Jun 2013 08:04:10 +0000 (11:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 08:47:47 +0000 (01:47 -0700)
commit37173488400704f1a05656616cd12baa9e03173b
tree723139d3df118213e172d9ba4fd8f77b1298b1c6
parentaeb193ea6cef28e33589de05ef932424f8e19bde
bnx2x: Fix compilation with no IOV support

This fixes an issue caused by submit 78c3bcc5d1af64f51d9f30b0f5a2d1985bf69734
`bnx2x: Improve PF behaviour toward VF', which made the bnx2x driver fail
compilation when PCI_IOV is not set.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.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.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h