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: <stable@kernel.org>
Reported-and-tested-by: Mark Rustad <mark_rustad@Xiotech.com>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dan Williams authored and David S. Miller 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.