Skip to content

Commit

Permalink
[4/4] dca: fixup initialization dependency
Browse files Browse the repository at this point in the history
Mark dca_init as a subsys_initcall since it needs to be ready to go
before dependent drivers start registering themselves.

Cc: <[email protected]>
Reported-and-tested-by: Mark Rustad <[email protected]>
Acked-by: Maciej Sosnowski <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
djbw authored and davem330 committed Nov 10, 2008
1 parent 12ccea2 commit 1207e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dca/dca-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,6 @@ static void __exit dca_exit(void)
dca_sysfs_exit();
}

module_init(dca_init);
subsys_initcall(dca_init);
module_exit(dca_exit);

0 comments on commit 1207e79

Please sign in to comment.