[brcm47xx] refresh kernel patches
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-2.6.25 / 620-ssb-modinit-fix.patch
1 Index: linux-2.6.25.4/drivers/ssb/main.c
2 ===================================================================
3 --- linux-2.6.25.4.orig/drivers/ssb/main.c
4 +++ linux-2.6.25.4/drivers/ssb/main.c
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 {