[brcm63xx] add support for 2.6.32, dropped the SPI patch for now
[openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 200-call_board_register_device_from_device_initcall.patch
1 Some device registration (eg leds), expect subsystem initcall to be
2 run first, so move board device registration to device_initcall().
3
4 Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
5 ---
6  arch/mips/bcm63xx/setup.c |    2 +-
7  1 files changed, 1 insertions(+), 1 deletions(-)
8
9 diff --git a/arch/mips/bcm63xx/setup.c b/arch/mips/bcm63xx/setup.c
10 index d005659..04a3499 100644
11 --- a/arch/mips/bcm63xx/setup.c
12 +++ b/arch/mips/bcm63xx/setup.c
13 @@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void)
14         return board_register_devices();
15  }
16  
17 -arch_initcall(bcm63xx_register_devices);
18 +device_initcall(bcm63xx_register_devices);
19 -- 
20 1.6.3.3
21
22