aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel')
-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 adb91e4b62da..2edee22e9c30 100644
--- a/arch/x86/kernel/pci-calgary_64.c
+++ b/arch/x86/kernel/pci-calgary_64.c
@@ -1233,8 +1233,7 @@ static int __init calgary_init(void)
1233 1233
1234error: 1234error:
1235 do { 1235 do {
1236 dev = pci_get_device_reverse(PCI_VENDOR_ID_IBM, 1236 dev = pci_get_device(PCI_VENDOR_ID_IBM, PCI_ANY_ID, dev);
1237 PCI_ANY_ID, dev);
1238 if (!dev) 1237 if (!dev)
1239 break; 1238 break;
1240 if (!is_cal_pci_dev(dev->device)) 1239 if (!is_cal_pci_dev(dev->device))