diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-28 20:50:51 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-28 20:50:51 +0000 |
commit | a1bd9bdd429c9139a9e4bfd76adb2e491391dc7e (patch) | |
tree | bdba4afdca90282c214abee5f2aff4e9f37ce6ca /target/linux/brcm63xx/patches-2.6.32/200-call_board_register_device_from_device_initcall.patch | |
parent | 5a42dfc864792b29c31e866707cda3413129a5eb (diff) |
[brcm63xx] add support for 2.6.32, dropped the SPI patch for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19919 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.32/200-call_board_register_device_from_device_initcall.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.32/200-call_board_register_device_from_device_initcall.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.32/200-call_board_register_device_from_device_initcall.patch b/target/linux/brcm63xx/patches-2.6.32/200-call_board_register_device_from_device_initcall.patch new file mode 100644 index 000000000..c8c4ade10 --- /dev/null +++ b/target/linux/brcm63xx/patches-2.6.32/200-call_board_register_device_from_device_initcall.patch @@ -0,0 +1,22 @@ +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(-) + +diff --git a/arch/mips/bcm63xx/setup.c b/arch/mips/bcm63xx/setup.c +index d005659..04a3499 100644 +--- 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); +-- +1.6.3.3 + + |