openwrtv3/target/linux/brcm47xx/patches-2.6.23/620-ssb-modinit-fix.patch
Gabor Juhos 0f18ecf43e refresh 2.6.23 patches
SVN-Revision: 12311
2008-08-14 18:05:37 +00:00

13 lines
437 B
Diff

--- a/drivers/ssb/main.c
+++ b/drivers/ssb/main.c
@@ -1163,7 +1163,9 @@
/* 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)
{