| --- a/drivers/net/ethernet/intel/igb/igb_main.c |
| +++ b/drivers/net/ethernet/intel/igb/igb_main.c |
| @@ -7543,6 +7543,7 @@ static int igb_sriov_reinit(struct pci_d |
| return 0; |
| } |
| |
| +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0) |
| static int igb_pci_disable_sriov(struct pci_dev *dev) |
| { |
| int err = igb_disable_sriov(dev); |
| @@ -7552,6 +7553,7 @@ static int igb_pci_disable_sriov(struct |
| |
| return err; |
| } |
| +#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0) */ |
| |
| static int igb_pci_enable_sriov(struct pci_dev *dev, int num_vfs) |
| { |