i40e: Check PCI_IOV config to avoid compile error
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 4 Apr 2014 04:43:16 +0000 (04:43 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 21 May 2014 11:01:30 +0000 (04:01 -0700)
commitdf805f62d16db15fdb9278bcb56ee3863deebfb8
tree8e1e1a80c651a77ae85648668a21f825f58454ea
parentc0c8a202c958370ea246e8bf68abd46cce7e93b5
i40e: Check PCI_IOV config to avoid compile error

The call to i40e_alloc_vfs needs to be wrapped in CONFIG_PCI_IOV because
the function itself is wrapped in the same conditional compile block.

Change-ID: I663c5f1b85e5cfba0b36da8966f7db1a034f408b
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c