aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-2.6.25/620-ssb-modinit-fix.patch
blob: 4e31b578dd63c4d08f02788b52a49414d7ab51a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: linux-2.6.25.4/drivers/ssb/main.c
===================================================================
--- linux-2.6.25.4.orig/drivers/ssb/main.c
+++ linux-2.6.25.4/drivers/ssb/main.c
@@ -1173,7 +1173,9 @@ static int __init ssb_modinit(void)
 /* ssb must be initialized after PCI but before the ssb drivers.
  * That means we must use some initcall between subsys_initcall
  * and device_initcall. */
-fs_initcall(ssb_modinit);
+//FIXME on embedded we need to be early to make sure we can register
+//      a new PCI bus, if needed.
+subsys_initcall(ssb_modinit);
 
 static void __exit ssb_modexit(void)
 {