aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/pci-calgary_64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/pci-calgary_64.c b/arch/x86/kernel/pci-calgary_64.c
index 1b5464c2434f..67a3feb90edb 100644
--- a/arch/x86/kernel/pci-calgary_64.c
+++ b/arch/x86/kernel/pci-calgary_64.c
@@ -1232,8 +1232,7 @@ static int __init calgary_init(void)
1232 1232
1233error: 1233error:
1234 do { 1234 do {
1235 dev = pci_get_device_reverse(PCI_VENDOR_ID_IBM, 1235 dev = pci_get_device(PCI_VENDOR_ID_IBM, PCI_ANY_ID, dev);
1236 PCI_ANY_ID, dev);
1237 if (!dev) 1236 if (!dev)
1238 break; 1237 break;
1239 if (!is_cal_pci_dev(dev->device)) 1238 if (!is_cal_pci_dev(dev->device))