diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-28 21:24:34 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-28 21:24:34 +0000 |
commit | 4d9258acb3abc998fc14ca792ee460052aacd642 (patch) | |
tree | dad3c452dfc83e0d16b6bc839b7a84d818d4c868 /target/linux/brcm63xx/patches-2.6.33/200-call_board_register_device_from_device_initcall.patch | |
parent | 554266a19e43960977bb85b440c15fdebee76241 (diff) |
[brcm63xx] add support for 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19921 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/200-call_board_register_device_from_device_initcall.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.33/200-call_board_register_device_from_device_initcall.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/200-call_board_register_device_from_device_initcall.patch b/target/linux/brcm63xx/patches-2.6.33/200-call_board_register_device_from_device_initcall.patch new file mode 100644 index 0000000000..e7c71779c4 --- /dev/null +++ b/target/linux/brcm63xx/patches-2.6.33/200-call_board_register_device_from_device_initcall.patch @@ -0,0 +1,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); |