diff options
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r-- | drivers/pci/hotplug/cpqphp_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/cpqphp_core.c b/drivers/pci/hotplug/cpqphp_core.c index 2305cc450a45..a96b739b2d35 100644 --- a/drivers/pci/hotplug/cpqphp_core.c +++ b/drivers/pci/hotplug/cpqphp_core.c | |||
@@ -549,7 +549,7 @@ get_slot_mapping(struct pci_bus *bus, u8 bus_num, u8 dev_num, u8 *slot) | |||
549 | * slot. */ | 549 | * slot. */ |
550 | bus->number = tbus; | 550 | bus->number = tbus; |
551 | pci_bus_read_config_dword(bus, PCI_DEVFN(tdevice, 0), | 551 | pci_bus_read_config_dword(bus, PCI_DEVFN(tdevice, 0), |
552 | PCI_REVISION_ID, &work); | 552 | PCI_CLASS_REVISION, &work); |
553 | 553 | ||
554 | if ((work >> 8) == PCI_TO_PCI_BRIDGE_CLASS) { | 554 | if ((work >> 8) == PCI_TO_PCI_BRIDGE_CLASS) { |
555 | pci_bus_read_config_dword(bus, | 555 | pci_bus_read_config_dword(bus, |