1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-28 00:45:20 +02:00
openwrt-xburst/target/linux/brcm47xx/patches-2.6.25/620-ssb-modinit-fix.patch
noz a11dfce7a2 [generic-2.6] Remove files now present upstream in files-2.6.25
(This is mostly just drivers/ssb and include/linux/ssb)
[brcm47xx] Regenerate patches against 2.6.25.1 kernel+files set
    Default is still to build against 2.6.23.16

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-16 19:25:20 +00:00

16 lines
685 B
Diff

Index: linux-2.6.25.1/drivers/ssb/main.c
===================================================================
--- linux-2.6.25.1.orig/drivers/ssb/main.c 2008-05-10 08:35:23.000000000 +0100
+++ linux-2.6.25.1/drivers/ssb/main.c 2008-05-10 09:04:53.000000000 +0100
@@ -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)
{