1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 15:26:46 +02:00
openwrt-xburst/target/linux/brcm47xx/patches-2.6.23/620-ssb-modinit-fix.patch
mb 4202d050af SSB: Update the watchdog fix to the patch version that will go upstream.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 11:58:20 +00:00

16 lines
688 B
Diff

Index: linux-2.6.23.16/drivers/ssb/main.c
===================================================================
--- linux-2.6.23.16.orig/drivers/ssb/main.c 2008-02-19 12:38:34.000000000 +0100
+++ linux-2.6.23.16/drivers/ssb/main.c 2008-02-19 12:48:25.000000000 +0100
@@ -1163,7 +1163,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)
{