aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Bizon <mbizon@freebox.fr>2011-11-04 14:09:27 -0400
committerRalf Baechle <ralf@linux-mips.org>2011-12-07 17:03:02 -0500
commitd64ed7ada2f689d2c62af1892ca55e47d3653e36 (patch)
treedd224cc227160e597002fe444429b5def00c6994
parent455a503f4cd4971b26e431904d98fdf5beea1075 (diff)
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>
-rw-r--r--arch/mips/bcm63xx/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/bcm63xx/setup.c b/arch/mips/bcm63xx/setup.c
index d0056598fbfc..04a349928643 100644
--- a/arch/mips/bcm63xx/setup.c
+++ b/arch/mips/bcm63xx/setup.c
@@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void)
124 return board_register_devices(); 124 return board_register_devices();
125} 125}
126 126
127arch_initcall(bcm63xx_register_devices); 127device_initcall(bcm63xx_register_devices);