diff options
Diffstat (limited to 'drivers/pci/iov.c')
-rw-r--r-- | drivers/pci/iov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index cb6f24740ee3..4d109c07294a 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c | |||
@@ -633,7 +633,7 @@ int pci_vfs_assigned(struct pci_dev *dev) | |||
633 | * our dev as the physical function and the assigned bit is set | 633 | * our dev as the physical function and the assigned bit is set |
634 | */ | 634 | */ |
635 | if (vfdev->is_virtfn && (vfdev->physfn == dev) && | 635 | if (vfdev->is_virtfn && (vfdev->physfn == dev) && |
636 | (vfdev->dev_flags & PCI_DEV_FLAGS_ASSIGNED)) | 636 | pci_is_dev_assigned(vfdev)) |
637 | vfs_assigned++; | 637 | vfs_assigned++; |
638 | 638 | ||
639 | vfdev = pci_get_device(dev->vendor, dev_id, vfdev); | 639 | vfdev = pci_get_device(dev->vendor, dev_id, vfdev); |