]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix compiler warnings
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 21 Oct 2011 07:55:15 +0000 (07:55 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 Nov 2011 23:55:39 +0000 (16:55 -0700)
commitc37b799be10862ed3bfc324d8cce04ec6065a591
tree55fc2c909e4dff6de20eb1dcb4d40a0e0bffe66c
parent28d2dab7622541da8cc0470406a2401437f96915
ixgbe: Fix compiler warnings

Wrap SR-IOV specific functions in CONFIG_PCI_IOV to avoid compiler
warnings.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h