summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.33/200-call_board_register_device_from_device_initcall.patch
blob: e7c71779c42559ff77f0c58a98358a2e3e0b6aa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>
---
 arch/mips/bcm63xx/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--- a/arch/mips/bcm63xx/setup.c
+++ b/arch/mips/bcm63xx/setup.c
@@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void
 	return board_register_devices();
 }
 
-arch_initcall(bcm63xx_register_devices);
+device_initcall(bcm63xx_register_devices);