]> 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)
commit573ca28dde786a32ddd2f3039af09ff55ded1a27
tree723139d3df118213e172d9ba4fd8f77b1298b1c6
parent40dcf79031d347a3fe41fcbd31165404aadbee0b
bnx2x: Fix compilation with no IOV support

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