diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-11-11 17:50:03 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-13 09:56:01 -0800 |
commit | d10652e61d42ef3d21137252872e2182e5937768 (patch) | |
tree | ecce94fb47ab214b0c6cc4784a02a87d3b62c872 /drivers | |
parent | d2edcdc5ad15bc5565e1e968cc43ed90c5c0a9e4 (diff) | |
download | lwn-d10652e61d42ef3d21137252872e2182e5937768.tar.gz lwn-d10652e61d42ef3d21137252872e2182e5937768.zip |
dca: fixup initialization dependency
commit 1207e795568a368928dfd23d6817e47f2e8097e3 upstream
Mark dca_init as a subsys_initcall since it needs to be ready to go
before dependent drivers start registering themselves.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dca/dca-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dca/dca-core.c b/drivers/dca/dca-core.c index ec249d2db633..d883e1b8bb8c 100644 --- a/drivers/dca/dca-core.c +++ b/drivers/dca/dca-core.c @@ -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); |