[PATCH 1/2] dmaengine i.MX SDMA: initialize on module_init

Previous thread: [PATCH 1/2] Change a argument of disk_map_sector_rcu() to hd_part->start_sect from req->__sector by Yasuaki Ishimatsu on Monday, December 6, 2010 - 2:45 am. (1 message)

Next thread: [PATCH 2/2] dmaengine i.MX SDMA: protect channel0 by Sascha Hauer on Monday, December 6, 2010 - 3:09 am. (3 messages)
From: Sascha Hauer
Date: Monday, December 6, 2010 - 3:09 am

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(-)

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");
-- 
1.7.2.3

--

From: Dan Williams
Date: Tuesday, December 7, 2010 - 4:31 pm

Applied.
--

Previous thread: [PATCH 1/2] Change a argument of disk_map_sector_rcu() to hd_part->start_sect from req->__sector by Yasuaki Ishimatsu on Monday, December 6, 2010 - 2:45 am. (1 message)

Next thread: [PATCH 2/2] dmaengine i.MX SDMA: protect channel0 by Sascha Hauer on Monday, December 6, 2010 - 3:09 am. (3 messages)