From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 4/6] ARM: mxc: imx-dma on imx25 has no other TO version but TO1
Date: Wed, 22 Jun 2011 22:41:29 +0800 [thread overview]
Message-ID: <1308753691-14442-5-git-send-email-shawn.guo@linaro.org> (raw)
In-Reply-To: <1308753691-14442-1-git-send-email-shawn.guo@linaro.org>
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>
---
arch/arm/plat-mxc/devices/platform-imx-dma.c | 4 ++--
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 f25a41c..27104f5 100644
--- a/arch/arm/plat-mxc/devices/platform-imx-dma.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-dma.c
@@ -82,7 +82,7 @@ static struct platform_device __init __maybe_unused *imx_add_imx_dma(void)
}
#ifdef CONFIG_ARCH_MX25
-static struct sdma_script_start_addrs addr_imx25_to1 = {
+static struct sdma_script_start_addrs addr_imx25 = {
.ap_2_ap_addr = 729,
.uart_2_mcu_addr = 904,
.per_2_app_addr = 1255,
@@ -186,7 +186,7 @@ static int __init imxXX_add_imx_dma(void)
#if defined(CONFIG_SOC_IMX25)
if (cpu_is_mx25()) {
- imx25_imx_sdma_data.pdata.script_addrs = &addr_imx25_to1;
+ imx25_imx_sdma_data.pdata.script_addrs = &addr_imx25;
ret = imx_add_imx_sdma(&imx25_imx_sdma_data);
} else
#endif
--
1.7.4.1
next prev parent reply other threads:[~2011-06-22 14:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-22 14:41 [PATCH v2 0/6] Some fixes and cleanup on imx-dma device registration Shawn Guo
2011-06-22 14:41 ` [PATCH v2 1/6] ARM: mxc: imx-sdma device gets 16K iosize than 4K Shawn Guo
2011-06-22 14:41 ` [PATCH v2 2/6] ARM: mxc: sdma on imx25 is a V2 block Shawn Guo
2011-06-22 14:41 ` [PATCH v2 3/6] ARM: mxc: change imx-dma default to_version to 1 Shawn Guo
2011-06-22 14:41 ` Shawn Guo [this message]
2011-06-22 14:41 ` [PATCH v2 5/6] ARM: mxc: clean up imx-dma device registration Shawn Guo
2011-06-22 14:41 ` [PATCH v2 6/6] dmaengine: imx-sdma: pass sdma firmware name via platform data Shawn Guo
2011-06-23 7:45 ` Sascha Hauer
2011-06-24 10:50 ` Vinod Koul
2011-06-27 9:51 ` [PATCH v2 0/6] Some fixes and cleanup on imx-dma device registration Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1308753691-14442-5-git-send-email-shawn.guo@linaro.org \
--to=shawn.guo@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).