Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d64ed7ad authored by Maxime Bizon's avatar Maxime Bizon Committed by Ralf Baechle
Browse files

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: default avatarMaxime Bizon <mbizon@freebox.fr>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2891/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 455a503f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void)
	return board_register_devices();
}

arch_initcall(bcm63xx_register_devices);
device_initcall(bcm63xx_register_devices);