From: Michael Buesch Date: Sat, 27 Oct 2007 13:14:39 +0000 (+0200) Subject: ssb: Fix initcall ordering X-Git-Tag: v2.6.24-rc3~155^2~21 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d8c90e3fd1f8895f6d48bdcb34ba69a1fe73616;p=linux-2.6 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 --- diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index c12a741b55..fc1d589dc6 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) {