Skip to contentSkip to conversation

ssb: Fix initcall ordering

PATCH New Michael Buesch 1 participant 1 message Oct 27, 2007 Sonics silicon backplane driver (ssb)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ssb: Fix initcall ordering

ssb must init after PCI but before the ssb drivers.

Cc Christian Casteyde <[email protected]>

Fixes-bug: #9219

drivers/ssb/main.c +4 -1
Index: wireless-2.6/drivers/ssb/main.c
===================================================================
@@ -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)
 {