From: Michael Buesch Date: Sat, 27 Oct 2007 13:14:39 +0000 (+0200) Subject: ssb: Fix initcall ordering X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d8c90e3fd1f8895f6d48bdcb34ba69a1fe73616;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 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) {