kernel: add some missing config files and make compat-wireless build with kernel...
[openwrt/staging/lynxis/omap.git] / target / linux / brcm63xx / patches-2.6.33 / 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 --- a/arch/mips/bcm63xx/setup.c
10 +++ b/arch/mips/bcm63xx/setup.c
11 @@ -124,4 +124,4 @@ int __init bcm63xx_register_devices(void
12 return board_register_devices();
13 }
14
15 -arch_initcall(bcm63xx_register_devices);
16 +device_initcall(bcm63xx_register_devices);