revert gcc 4.4 fixes - http://bugzilla.kernel.org/show_bug.cgi?id=11143
[openwrt.git] / target / linux / brcm47xx / patches-2.6.23 / 620-ssb-modinit-fix.patch
1 Index: linux-2.6.23.17/drivers/ssb/main.c
2 ===================================================================
3 --- linux-2.6.23.17.orig/drivers/ssb/main.c
4 +++ linux-2.6.23.17/drivers/ssb/main.c
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  {