]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7325d14a2a2fcc5b14bcd624dbe79956ff4973d0
tree723139d3df118213e172d9ba4fd8f77b1298b1c6
parenta2ea63f7feb7e6afeb471a55b3a514d34f004d02
bnx2x: Fix compilation with no IOV support

This fixes an issue caused by submit 5aee745a77bd503bb51d30e177c9b429231d4a80
`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