openwrt/target/linux/brcm47xx/patches-2.6.25/620-ssb-modinit-fix.patch
Gabor Juhos d35bad03e3 update to 2.6.25.19, and refresh patches
SVN-Revision: 13137
2008-11-07 08:44:56 +00:00

14 lines
473 B
Diff

--- a/drivers/ssb/main.c
+++ b/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)
{