From: Maxime Bizon Date: Fri, 4 Nov 2011 18:09:27 +0000 (+0100) Subject: MIPS: BCM63XX: Call board_register_device from device_initcall() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d64ed7ada2f689d2c62af1892ca55e47d3653e36;p=linux-beck.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2891/ Signed-off-by: Ralf Baechle --- 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) return board_register_devices(); } -arch_initcall(bcm63xx_register_devices); +device_initcall(bcm63xx_register_devices);