Skip to content

Commit

Permalink
ssb: Fix initcall ordering
Browse files Browse the repository at this point in the history
ssb must init after PCI but before the ssb drivers.

Signed-off-by: Michael Buesch <[email protected]>
Cc: Christian Casteyde <[email protected]>
Fixes-bug: #9219
Signed-off-by: John W. Linville <[email protected]>
  • Loading branch information
Michael Buesch authored and David S. Miller committed Nov 11, 2007
1 parent 94e10bf commit 8d8c90e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/ssb/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 8d8c90e

Please sign in to comment.