summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-02 21:49:37 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-02 21:49:37 +0000
commit2c13d45b2934296b72edbde51bb8b342ec0068e9 (patch)
tree823625b35a3fcd4378a7d856f66487ca2d5cfc43 /target
parentf88371a696184b163f5a7ddd48df16c1c81e7305 (diff)
downloadmtk-20170518-2c13d45b2934296b72edbde51bb8b342ec0068e9.zip
mtk-20170518-2c13d45b2934296b72edbde51bb8b342ec0068e9.tar.gz
mtk-20170518-2c13d45b2934296b72edbde51bb8b342ec0068e9.tar.bz2
do not register devices in device_initcall level, this breaks the SSB SPROM registration
SVN-Revision: 19957
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm63xx/patches-2.6.32/200-call_board_register_device_from_device_initcall.patch22
-rw-r--r--target/linux/brcm63xx/patches-2.6.33/200-call_board_register_device_from_device_initcall.patch16
2 files changed, 0 insertions, 38 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
deleted file mode 100644
index c8c4ade..0000000
--- 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 <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
-
-
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 e7c7177..0000000
--- 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 <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);