MIPS: BCM63XX: Call board_register_device from device_initcall()
authorMaxime Bizon <mbizon@freebox.fr>
Fri, 4 Nov 2011 18:09:27 +0000 (19:09 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 7 Dec 2011 22:03:02 +0000 (22:03 +0000)
commitd64ed7ada2f689d2c62af1892ca55e47d3653e36
treedd224cc227160e597002fe444429b5def00c6994
parent455a503f4cd4971b26e431904d98fdf5beea1075
MIPS: BCM63XX: Call board_register_device from device_initcall()

Some device registration (eg leds), expect subsystem initcall to be
run first, so move board device registration to device_initcall().

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2891/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/setup.c