summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/devices/devices-common.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-09-15 15:57:00 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-10-15 10:03:17 +0800
commit73930eb31b2ecb0177c9bf81a35b4d2d73716951 (patch)
tree0a341a992eb4f6b986a6fc665b4b48e049a3cbe3 /arch/arm/mach-imx/devices/devices-common.h
parent04bbd8ef533fed260ea8cc249b534c1cbbc7f9d0 (diff)
downloadlinux-73930eb31b2ecb0177c9bf81a35b4d2d73716951.tar.bz2
dma: imx-dma: retrieve MEM and IRQ from resources
Retrieve MEM and IRQ from resources rather than directly using the value by including machine header. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Cc: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'arch/arm/mach-imx/devices/devices-common.h')
-rw-r--r--arch/arm/mach-imx/devices/devices-common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/devices/devices-common.h b/arch/arm/mach-imx/devices/devices-common.h
index 1472f0fc325c..e4368f6c5fb4 100644
--- a/arch/arm/mach-imx/devices/devices-common.h
+++ b/arch/arm/mach-imx/devices/devices-common.h
@@ -329,7 +329,8 @@ struct platform_device *__init imx_add_spi_imx(
const struct imx_spi_imx_data *data,
const struct spi_imx_master *pdata);
-struct platform_device *imx_add_imx_dma(void);
+struct platform_device *imx_add_imx_dma(resource_size_t iobase,
+ int irq, int irq_err);
struct platform_device *imx_add_imx_sdma(char *name,
resource_size_t iobase, int irq, struct sdma_platform_data *pdata);