aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpaphp_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/rpaphp_pci.c')
-rw-r--r--drivers/pci/hotplug/rpaphp_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c
index a7859a84d1ae..4b35097b3d9f 100644
--- a/drivers/pci/hotplug/rpaphp_pci.c
+++ b/drivers/pci/hotplug/rpaphp_pci.c
@@ -253,7 +253,7 @@ rpaphp_pci_config_slot(struct pci_bus *bus)
253 if (!dn || !dn->child) 253 if (!dn || !dn->child)
254 return NULL; 254 return NULL;
255 255
256 if (systemcfg->platform == PLATFORM_PSERIES_LPAR) { 256 if (_machine == PLATFORM_PSERIES_LPAR) {
257 of_scan_bus(dn, bus); 257 of_scan_bus(dn, bus);
258 if (list_empty(&bus->devices)) { 258 if (list_empty(&bus->devices)) {
259 err("%s: No new device found\n", __FUNCTION__); 259 err("%s: No new device found\n", __FUNCTION__);