]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ssb: Fix initcall ordering
authorMichael Buesch <mb@bu3sch.de>
Sat, 27 Oct 2007 13:14:39 +0000 (15:14 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 11 Nov 2007 05:58:58 +0000 (21:58 -0800)
ssb must init after PCI but before the ssb drivers.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: Christian Casteyde <casteyde.christian@free.fr>
Fixes-bug: #9219
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/main.c

index c12a741b5574d21681d5ff5f2c89014675dff010..fc1d589dc675042d44f187ae289ec217b39ef3dd 100644 (file)
@@ -1147,7 +1147,10 @@ static int __init ssb_modinit(void)
 
        return err;
 }
-subsys_initcall(ssb_modinit);
+/* 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);
 
 static void __exit ssb_modexit(void)
 {