Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89a071b8 authored by akpm@osdl.org's avatar akpm@osdl.org Committed by Linus Torvalds
Browse files

[PATCH] rpaphp_pci build fix



(akpm: _machine is some ppc64 thing - this is a powerpc-only driver)

Signed-off-by: default avatarSerge Hallyn <serue@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 005f18df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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__);