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 e03fe98f0619..b2a448e19fe6 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c | |||
@@ -555,7 +555,7 @@ int pci_iov_init(struct pci_dev *dev) | |||
555 | { | 555 | { |
556 | int pos; | 556 | int pos; |
557 | 557 | ||
558 | if (!dev->is_pcie) | 558 | if (!pci_is_pcie(dev)) |
559 | return -ENODEV; | 559 | return -ENODEV; |
560 | 560 | ||
561 | pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_SRIOV); | 561 | pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_SRIOV); |