OSDN Git Service

powerpc/wii: Probe the whole devicetree
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Tue, 6 Feb 2018 12:37:04 +0000 (13:37 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 31 Mar 2018 13:47:39 +0000 (00:47 +1100)
commit7ab96c0a083f3a298ae595ea142058a20c6e34f6
treec5a71c1ba54447fcc32a1af8b989e3b09b2d02a1
parent1d0afc0d5a7c281f8ced3bd39f61f3328d5d3822
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>
arch/powerpc/platforms/embedded6xx/wii.c