mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:55:55 +02:00
[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
This commit is contained in:
parent
3b914222bd
commit
fb4e18d48b
@ -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
|
||||
|
||||
|
@ -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);
|
Loading…
Reference in New Issue
Block a user