From: Eric Xu Date: Wed, 12 Jan 2011 14:39:08 +0000 (+0100) Subject: dmaengine: at_hdmac: use subsys_initcall instead of module_init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93d0bec2be4b0f036a27da207ecab97fc3d3bbbe;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Nicolas Ferre Signed-off-by: Dan Williams --- diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index c6ddd6ffb8f..e25c4ad0106 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) {