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:
parent
8d8d88cbd9
commit
282e1ec857
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user