From: Sascha Hauer Date: Mon, 6 Dec 2010 10:09:57 +0000 (+0100) Subject: dmaengine i.MX SDMA: initialize on module_init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c989a7fc139ec8975fdc230e2de42f3c4555880e;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git dmaengine i.MX SDMA: initialize on module_init The firmware framework gets initialized during fs_initcall time, so we are not allowed to call request_firmware earlier. Signed-off-by: Sascha Hauer Signed-off-by: Dan Williams --- diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 13d6447a35f..d0602dd5d1b 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -1385,7 +1385,7 @@ static int __init sdma_module_init(void) { return platform_driver_probe(&sdma_driver, sdma_probe); } -subsys_initcall(sdma_module_init); +module_init(sdma_module_init); MODULE_AUTHOR("Sascha Hauer, Pengutronix "); MODULE_DESCRIPTION("i.MX SDMA driver");