aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/embedded6xx
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-02-06 13:37:04 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-04-01 00:47:39 +1100
commit7ab96c0a083f3a298ae595ea142058a20c6e34f6 (patch)
treec5a71c1ba54447fcc32a1af8b989e3b09b2d02a1 /arch/powerpc/platforms/embedded6xx
parentpowerpc/64e: Fix oops due to deferral of paca allocation (diff)
downloadlinux-dev-7ab96c0a083f3a298ae595ea142058a20c6e34f6.tar.xz
linux-dev-7ab96c0a083f3a298ae595ea142058a20c6e34f6.zip
powerpc/wii: Probe the whole devicetree
Previously, wii_device_probe would only initialize devices under the /hollywood node. After this patch, platform devices placed outside of /hollywood will also be initialized. The intended usecase for this are devices located outside of the Hollywood chip, such as GPIO LEDs and GPIO buttons. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/embedded6xx')
-rw-r--r--arch/powerpc/platforms/embedded6xx/wii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/embedded6xx/wii.c b/arch/powerpc/platforms/embedded6xx/wii.c
index 3fd683e40bc9..ef2b02b5e9d3 100644
--- a/arch/powerpc/platforms/embedded6xx/wii.c
+++ b/arch/powerpc/platforms/embedded6xx/wii.c
@@ -239,7 +239,7 @@ static int __init wii_device_probe(void)
if (!machine_is(wii))
return 0;
- of_platform_bus_probe(NULL, wii_of_bus, NULL);
+ of_platform_populate(NULL, wii_of_bus, NULL, NULL);
return 0;
}
device_initcall(wii_device_probe);