Skip to content

Commit

Permalink
MIPS: BCM63XX: Call board_register_device from device_initcall()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maxime Bizon authored and Ralf Baechle committed Dec 7, 2011
1 parent 455a503 commit d64ed7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/bcm63xx/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void)
return board_register_devices();
}

arch_initcall(bcm63xx_register_devices);
device_initcall(bcm63xx_register_devices);

0 comments on commit d64ed7a

Please sign in to comment.