mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ssb: Workaround: Need subsys_initcall to be able to register a PCI bus.
This needs a different fix, but use this workaround for now. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10491 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
Index: linux-2.6.23.16/drivers/ssb/main.c
|
||||
===================================================================
|
||||
--- linux-2.6.23.16.orig/drivers/ssb/main.c 2008-02-19 02:24:48.000000000 +0100
|
||||
+++ linux-2.6.23.16/drivers/ssb/main.c 2008-02-19 02:27:59.000000000 +0100
|
||||
@@ -1164,7 +1164,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)
|
||||
{
|
||||
Reference in New Issue
Block a user