First step to upgrade of brcm47xx to kernel version 2.6.25
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-2.6.25 / 620-ssb-modinit-fix.patch
1 Index: linux-2.6.23.16/drivers/ssb/main.c
2 ===================================================================
3 --- linux-2.6.23.16.orig/drivers/ssb/main.c 2008-02-19 12:38:34.000000000 +0100
4 +++ linux-2.6.23.16/drivers/ssb/main.c 2008-02-19 12:48:25.000000000 +0100
5 @@ -1163,7 +1163,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 {