1efaf7c3f8f1bf45d0629d8b59bdcb70a60651f9
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-2.6.25 / 620-ssb-modinit-fix.patch
1 Index: linux-2.6.25.1/drivers/ssb/main.c
2 ===================================================================
3 --- linux-2.6.25.1.orig/drivers/ssb/main.c 2008-05-10 08:35:23.000000000 +0100
4 +++ linux-2.6.25.1/drivers/ssb/main.c 2008-05-10 09:04:53.000000000 +0100
5 @@ -1173,7 +1173,9 @@ static int __init ssb_modinit(void)
6 /* ssb must be initialized after PCI but before the ssb drivers.
7 * That means we must use some initcall between subsys_initcall
8 * and device_initcall. */
9 -fs_initcall(ssb_modinit);
10 +//FIXME on embedded we need to be early to make sure we can register
11 +// a new PCI bus, if needed.
12 +subsys_initcall(ssb_modinit);
13
14 static void __exit ssb_modexit(void)
15 {