[1/2] dmaengine i.MX SDMA: initialize on module_init
diff mbox series

Message ID 1291630198-9690-2-git-send-email-s.hauer@pengutronix.de
State New, archived
Headers show
Series
  • [1/2] dmaengine i.MX SDMA: initialize on module_init
Related show

Commit Message

Sascha Hauer Dec. 6, 2010, 10:09 a.m. UTC
The firmware framework gets initialized during fs_initcall time, so
we are not allowed to call request_firmware earlier.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/dma/imx-sdma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Dan Williams Dec. 7, 2010, 11:31 p.m. UTC | #1
On Mon, Dec 6, 2010 at 2:09 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> The firmware framework gets initialized during fs_initcall time, so
> we are not allowed to call request_firmware earlier.
>
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Patch
diff mbox series

diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 0834323..01c4a5f 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 <s.hauer@pengutronix.de>");
 MODULE_DESCRIPTION("i.MX SDMA driver");