|
@@ -286,7 +286,7 @@ int rt2x00pci_probe(struct pci_dev *pci_dev, const struct pci_device_id *id)
|
|
|
rt2x00dev->irq = pci_dev->irq;
|
|
|
rt2x00dev->name = pci_name(pci_dev);
|
|
|
|
|
|
- if (pci_dev->is_pcie)
|
|
|
+ if (pci_is_pcie(pci_dev))
|
|
|
rt2x00_set_chip_intf(rt2x00dev, RT2X00_CHIP_INTF_PCIE);
|
|
|
else
|
|
|
rt2x00_set_chip_intf(rt2x00dev, RT2X00_CHIP_INTF_PCI);
|