Skip to content

Commit d64ed7a

Browse files
mbizonfreeboxralfbaechle
authored andcommitted
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>
1 parent 455a503 commit d64ed7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/mips/bcm63xx/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void)
124124
return board_register_devices();
125125
}
126126

127-
arch_initcall(bcm63xx_register_devices);
127+
device_initcall(bcm63xx_register_devices);

0 commit comments

Comments
 (0)