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

Commit 8edc51c1 authored by Yuan Yao's avatar Yuan Yao Committed by Vinod Koul
Browse files

dma: fix eDMA driver as a subsys_initcall



Because of some driver base on DMA, changed the initcall order as subsys_initcall.

Signed-off-by: default avatarYuan Yao <yao.yuan@freescale.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent f3817e77
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -968,7 +968,17 @@ static struct platform_driver fsl_edma_driver = {
	.remove		= fsl_edma_remove,
};

module_platform_driver(fsl_edma_driver);
static int __init fsl_edma_init(void)
{
	return platform_driver_register(&fsl_edma_driver);
}
subsys_initcall(fsl_edma_init);

static void __exit fsl_edma_exit(void)
{
	platform_driver_unregister(&fsl_edma_driver);
}
module_exit(fsl_edma_exit);

MODULE_ALIAS("platform:fsl-edma");
MODULE_DESCRIPTION("Freescale eDMA engine driver");