diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-10-27 09:14:39 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-11-11 00:58:58 -0500 |
commit | 8d8c90e3fd1f8895f6d48bdcb34ba69a1fe73616 (patch) | |
tree | d9cc15d752e21f95a6ed01f7c81c2cc27562a427 /drivers/ssb/main.c | |
parent | 94e10bfb8a7372df3ef2759c9ec2a37de2f24aca (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/ssb/main.c')
-rw-r--r-- | drivers/ssb/main.c | 5 |
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) | |||
1147 | 1147 | ||
1148 | return err; | 1148 | return err; |
1149 | } | 1149 | } |
1150 | subsys_initcall(ssb_modinit); | 1150 | /* ssb must be initialized after PCI but before the ssb drivers. |
1151 | * That means we must use some initcall between subsys_initcall | ||
1152 | * and device_initcall. */ | ||
1153 | fs_initcall(ssb_modinit); | ||
1151 | 1154 | ||
1152 | static void __exit ssb_modexit(void) | 1155 | static void __exit ssb_modexit(void) |
1153 | { | 1156 | { |