aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEric Xu <hong.xu@atmel.com>2011-01-12 15:39:08 +0100
committerDan Williams <dan.j.williams@intel.com>2011-01-14 16:54:43 -0800
commit93d0bec2be4b0f036a27da207ecab97fc3d3bbbe (patch)
tree303d0b8e3c7bc7fdfc526c8b9c41316e8561d2fc /drivers
parentdmaengine: at_hdmac: no need set ACK in new descriptor (diff)
downloadlinux-dev-93d0bec2be4b0f036a27da207ecab97fc3d3bbbe.tar.xz
linux-dev-93d0bec2be4b0f036a27da207ecab97fc3d3bbbe.zip
dmaengine: at_hdmac: use subsys_initcall instead of module_init
Use subsys_initcall instead of module_init in order to keep DMA engine rolling before other peripheral drivers. Signed-off-by: Eric Xu <hong.xu@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/at_hdmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index c6ddd6ffb8f3..e25c4ad01062 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -1209,7 +1209,7 @@ static int __init at_dma_init(void)
{
return platform_driver_probe(&at_dma_driver, at_dma_probe);
}
-module_init(at_dma_init);
+subsys_initcall(at_dma_init);
static void __exit at_dma_exit(void)
{