mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
[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>
This commit is contained in:
parent
005f18dfd0
commit
89a071b807
1 changed files with 1 additions and 1 deletions
|
@ -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__);
|
||||
|
|
Loading…
Reference in a new issue