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)
commit9487dc844054e1fc691fb82f4e19da337e2ca35e
tree55fc2c909e4dff6de20eb1dcb4d40a0e0bffe66c
parentb120818e652965669d3f1abaeaa5c3ccdfb28126
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