diff options
author | Maxime Bizon <mbizon@freebox.fr> | 2011-11-04 18:09:27 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-12-07 22:03:02 (GMT) |
commit | d64ed7ada2f689d2c62af1892ca55e47d3653e36 (patch) | |
tree | dd224cc227160e597002fe444429b5def00c6994 /arch/mips/bcm63xx/setup.c | |
parent | 455a503f4cd4971b26e431904d98fdf5beea1075 (diff) | |
download | linux-fsl-qoriq-d64ed7ada2f689d2c62af1892ca55e47d3653e36.tar.xz |
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>
Diffstat (limited to 'arch/mips/bcm63xx/setup.c')
-rw-r--r-- | arch/mips/bcm63xx/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/bcm63xx/setup.c b/arch/mips/bcm63xx/setup.c index d005659..04a3499 100644 --- a/arch/mips/bcm63xx/setup.c +++ b/arch/mips/bcm63xx/setup.c @@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void) return board_register_devices(); } -arch_initcall(bcm63xx_register_devices); +device_initcall(bcm63xx_register_devices); |