aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-06-22 10:41:29 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-07-07 03:07:38 -0400
commit187e5f26a853448add574b7efaba3767267dbc15 (patch)
tree79d78e7a7ac1b9ee27fe8f8bc6ff061539daec7f /arch
parentee8814db9642713982e793cf3ae48ac0aef58433 (diff)
ARM: mxc: imx-dma on imx25 has no other TO version but TO1
The imx25 sdma script only gets TO1 version, so there is no need to encode "to1" in the variable name. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-mxc/devices/platform-imx-dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx-dma.c b/arch/arm/plat-mxc/devices/platform-imx-dma.c
index c2712b7047f..c64f015e031 100644
--- a/arch/arm/plat-mxc/devices/platform-imx-dma.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-dma.c
@@ -77,7 +77,7 @@ static struct platform_device __init __maybe_unused *imx_add_imx_dma(void)
77} 77}
78 78
79#ifdef CONFIG_ARCH_MX25 79#ifdef CONFIG_ARCH_MX25
80static struct sdma_script_start_addrs addr_imx25_to1 = { 80static struct sdma_script_start_addrs addr_imx25 = {
81 .ap_2_ap_addr = 729, 81 .ap_2_ap_addr = 729,
82 .uart_2_mcu_addr = 904, 82 .uart_2_mcu_addr = 904,
83 .per_2_app_addr = 1255, 83 .per_2_app_addr = 1255,
@@ -165,7 +165,7 @@ static int __init imxXX_add_imx_dma(void)
165 165
166#if defined(CONFIG_SOC_IMX25) 166#if defined(CONFIG_SOC_IMX25)
167 if (cpu_is_mx25()) { 167 if (cpu_is_mx25()) {
168 imx25_imx_sdma_data.pdata.script_addrs = &addr_imx25_to1; 168 imx25_imx_sdma_data.pdata.script_addrs = &addr_imx25;
169 ret = imx_add_imx_sdma(&imx25_imx_sdma_data); 169 ret = imx_add_imx_sdma(&imx25_imx_sdma_data);
170 } else 170 } else
171#endif 171#endif