Commit c989a7fc authored by Sascha Hauer's avatar Sascha Hauer Committed by 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: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment