summaryrefslogtreecommitdiffstats
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-11 06:58:58 +0100
commit8d8c90e3fd1f8895f6d48bdcb34ba69a1fe73616 (patch)
treed9cc15d752e21f95a6ed01f7c81c2cc27562a427
parentsoftmac: fix wext MLME request reason code endianness (diff)
downloadlinux-8d8c90e3fd1f8895f6d48bdcb34ba69a1fe73616.tar.xz
linux-8d8c90e3fd1f8895f6d48bdcb34ba69a1fe73616.zip
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>
-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)
{