dma: imx-dma: retrieve MEM and IRQ from resources
authorShawn Guo <shawn.guo@linaro.org>
Sat, 15 Sep 2012 07:57:00 +0000 (15:57 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 15 Oct 2012 02:03:17 +0000 (10:03 +0800)
commit73930eb31b2ecb0177c9bf81a35b4d2d73716951
tree0a341a992eb4f6b986a6fc665b4b48e049a3cbe3
parent04bbd8ef533fed260ea8cc249b534c1cbbc7f9d0
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>
arch/arm/mach-imx/devices/devices-common.h
arch/arm/mach-imx/devices/platform-imx-dma.c
arch/arm/mach-imx/mm-imx1.c
arch/arm/mach-imx/mm-imx21.c
arch/arm/mach-imx/mm-imx27.c
drivers/dma/imx-dma.c