summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2007-10-27 15:14:39 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-11-10 21:58:58 -0800
commit8d8c90e3fd1f8895f6d48bdcb34ba69a1fe73616 (patch)
treed9cc15d752e21f95a6ed01f7c81c2cc27562a427 /drivers
parent94e10bfb8a7372df3ef2759c9ec2a37de2f24aca (diff)
ssb: Fix initcall ordering
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ssb/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c
index c12a741b5574..fc1d589dc675 100644
--- a/drivers/ssb/main.c
+++ b/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)
{