提交 d64ed7ad 编写于 作者: M Maxime Bizon 提交者: Ralf Baechle

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: NMaxime Bizon <mbizon@freebox.fr>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2891/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 455a503f
......@@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void)
return board_register_devices();
}
arch_initcall(bcm63xx_register_devices);
device_initcall(bcm63xx_register_devices);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册