igb_uio: fix build with kernel older than 2.6.34

There was a missing brace in commit 819fc2fe2a
(dont wrap pci_num_vf function needlessly).

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
Thomas Monjalon 2014-07-23 10:06:32 +02:00
parent 8d8d88cbd9
commit 282e1ec857

View File

@ -72,6 +72,7 @@ igbuio_get_uio_pci_dev(struct uio_info *info)
/* sriov sysfs */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 34)
static int pci_num_vf(struct pci_dev *dev)
{
struct iov {
int pos;
int nres;