mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
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>
This commit is contained in:
parent
455a503f4c
commit
d64ed7ada2
@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void)
|
||||
return board_register_devices();
|
||||
}
|
||||
|
||||
arch_initcall(bcm63xx_register_devices);
|
||||
device_initcall(bcm63xx_register_devices);
|
||||
|
Loading…
Reference in New Issue
Block a user