提交 c989a7fc 编写于 作者: S Sascha Hauer 提交者: Dan Williams

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: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NDan Williams <dan.j.williams@intel.com>
上级 943d8d8b
...@@ -1385,7 +1385,7 @@ static int __init sdma_module_init(void) ...@@ -1385,7 +1385,7 @@ static int __init sdma_module_init(void)
{ {
return platform_driver_probe(&sdma_driver, sdma_probe); return platform_driver_probe(&sdma_driver, sdma_probe);
} }
subsys_initcall(sdma_module_init); module_init(sdma_module_init);
MODULE_AUTHOR("Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>"); MODULE_AUTHOR("Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>");
MODULE_DESCRIPTION("i.MX SDMA driver"); MODULE_DESCRIPTION("i.MX SDMA driver");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册