From fb4e18d48b8f23f8e532d38550fe0c5d11cae500 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 2 Mar 2010 21:49:37 +0000 Subject: [PATCH] [brcm63xx] do not register devices in device_initcall level, this breaks the SSB SPROM registration git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19957 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...register_device_from_device_initcall.patch | 22 ------------------- ...register_device_from_device_initcall.patch | 16 -------------- 2 files changed, 38 deletions(-) delete mode 100644 target/linux/brcm63xx/patches-2.6.32/200-call_board_register_device_from_device_initcall.patch delete mode 100644 target/linux/brcm63xx/patches-2.6.33/200-call_board_register_device_from_device_initcall.patch 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 deleted file mode 100644 index c8c4ade10..000000000 --- a/target/linux/brcm63xx/patches-2.6.32/200-call_board_register_device_from_device_initcall.patch +++ /dev/null @@ -1,22 +0,0 @@ -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 ---- - 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 - - 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 deleted file mode 100644 index e7c71779c..000000000 --- a/target/linux/brcm63xx/patches-2.6.33/200-call_board_register_device_from_device_initcall.patch +++ /dev/null @@ -1,16 +0,0 @@ -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 ---- - 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); -- 2.35.1