From 8d8c90e3fd1f8895f6d48bdcb34ba69a1fe73616 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Sat, 27 Oct 2007 15:14:39 +0200 Subject: ssb: Fix initcall ordering ssb must init after PCI but before the ssb drivers. Signed-off-by: Michael Buesch Cc: Christian Casteyde Fixes-bug: #9219 Signed-off-by: John W. Linville --- drivers/ssb/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index c12a741b557..fc1d589dc67 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) { -- cgit v1.2.3