aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Xu <hong.xu@atmel.com>2011-01-12 09:39:08 -0500
committerDan Williams <dan.j.williams@intel.com>2011-01-14 19:54:43 -0500
commit93d0bec2be4b0f036a27da207ecab97fc3d3bbbe (patch)
tree303d0b8e3c7bc7fdfc526c8b9c41316e8561d2fc
parent58344f25cf5f3453bfcf4b845ea9ec71153e45c3 (diff)
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>
-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)
1209{ 1209{
1210 return platform_driver_probe(&at_dma_driver, at_dma_probe); 1210 return platform_driver_probe(&at_dma_driver, at_dma_probe);
1211} 1211}
1212module_init(at_dma_init); 1212subsys_initcall(at_dma_init);
1213 1213
1214static void __exit at_dma_exit(void) 1214static void __exit at_dma_exit(void)
1215{ 1215{