diff options
author | akpm@osdl.org <akpm@osdl.org> | 2005-11-14 00:06:33 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-14 02:14:11 (GMT) |
commit | 89a071b80767c3a7ed56e13ae5e810f751b19eeb (patch) | |
tree | 22fb64641f13926ac2b66bc7078b3a280b6dca03 /drivers/pci/hotplug/rpaphp_pci.c | |
parent | 005f18dfd0ed86c39716277b61dfb4bd2af91059 (diff) | |
download | linux-fsl-qoriq-89a071b80767c3a7ed56e13ae5e810f751b19eeb.tar.xz |
[PATCH] rpaphp_pci build fix
(akpm: _machine is some ppc64 thing - this is a powerpc-only driver)
Signed-off-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pci/hotplug/rpaphp_pci.c')
-rw-r--r-- | drivers/pci/hotplug/rpaphp_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/rpaphp_pci.c b/drivers/pci/hotplug/rpaphp_pci.c index a7859a8..4b35097 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) if (!dn || !dn->child) return NULL; - if (systemcfg->platform == PLATFORM_PSERIES_LPAR) { + if (_machine == PLATFORM_PSERIES_LPAR) { of_scan_bus(dn, bus); if (list_empty(&bus->devices)) { err("%s: No new device found\n", __FUNCTION__); |