Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93d0bec2 authored by Eric Xu's avatar Eric Xu Committed by Dan Williams
Browse files

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: default avatarEric Xu <hong.xu@atmel.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 58344f25
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1209,7 +1209,7 @@ static int __init at_dma_init(void)
{
{
	return platform_driver_probe(&at_dma_driver, at_dma_probe);
	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)
static void __exit at_dma_exit(void)
{
{