From patchwork Wed Jun 22 14:41:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 2169 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id EBA9B23F42 for ; Wed, 22 Jun 2011 14:36:13 +0000 (UTC) Received: from mail-vx0-f180.google.com (mail-vx0-f180.google.com [209.85.220.180]) by fiordland.canonical.com (Postfix) with ESMTP id B9921A182E9 for ; Wed, 22 Jun 2011 14:36:13 +0000 (UTC) Received: by mail-vx0-f180.google.com with SMTP id 7so939344vxd.11 for ; Wed, 22 Jun 2011 07:36:13 -0700 (PDT) Received: by 10.52.163.6 with SMTP id ye6mr1046845vdb.127.1308753373512; Wed, 22 Jun 2011 07:36:13 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.52.183.130 with SMTP id em2cs140656vdc; Wed, 22 Jun 2011 07:36:13 -0700 (PDT) Received: by 10.14.9.231 with SMTP id 79mr608800eet.241.1308753372094; Wed, 22 Jun 2011 07:36:12 -0700 (PDT) Received: from AM1EHSOBE006.bigfish.com (am1ehsobe006.messaging.microsoft.com [213.199.154.209]) by mx.google.com with ESMTPS id m10si1236113eeh.74.2011.06.22.07.36.10 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Jun 2011 07:36:11 -0700 (PDT) Received-SPF: neutral (google.com: 213.199.154.209 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) client-ip=213.199.154.209; Authentication-Results: mx.google.com; spf=neutral (google.com: 213.199.154.209 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) smtp.mail=shawn.guo@linaro.org Received: from mail101-am1-R.bigfish.com (10.3.201.240) by AM1EHSOBE006.bigfish.com (10.3.204.26) with Microsoft SMTP Server id 14.1.225.22; Wed, 22 Jun 2011 14:36:10 +0000 Received: from mail101-am1 (localhost.localdomain [127.0.0.1]) by mail101-am1-R.bigfish.com (Postfix) with ESMTP id 535B96982BB; Wed, 22 Jun 2011 14:36:10 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275dhz2dh87h2a8h668h839h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPVD:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-FB-DOMAIN-IP-MATCH: fail Received: from mail101-am1 (localhost.localdomain [127.0.0.1]) by mail101-am1 (MessageSwitch) id 130875337030302_12112; Wed, 22 Jun 2011 14:36:10 +0000 (UTC) Received: from AM1EHSMHS008.bigfish.com (unknown [10.3.201.247]) by mail101-am1.bigfish.com (Postfix) with ESMTP id 031921C0804B; Wed, 22 Jun 2011 14:36:10 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by AM1EHSMHS008.bigfish.com (10.3.207.108) with Microsoft SMTP Server (TLS) id 14.1.225.22; Wed, 22 Jun 2011 14:36:08 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server id 14.1.289.8; Wed, 22 Jun 2011 09:35:49 -0500 Received: from S2100-06.ap.freescale.net (S2100-06.ap.freescale.net [10.192.242.125]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id p5MEZcP4024386; Wed, 22 Jun 2011 09:35:47 -0500 (CDT) From: Shawn Guo To: CC: , Vinod Koul , , Shawn Guo 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 Message-ID: <1308753691-14442-5-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1308753691-14442-1-git-send-email-shawn.guo@linaro.org> References: <1308753691-14442-1-git-send-email-shawn.guo@linaro.org> MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com 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 --- 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