From patchwork Thu Mar 7 23:31:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 2234061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 35BD43FC8F for ; Thu, 7 Mar 2013 22:33:22 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UDjKK-0004rH-1e; Thu, 07 Mar 2013 22:30:16 +0000 Received: from mail-wg0-f50.google.com ([74.125.82.50]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UDjKF-0004qx-OZ for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2013 22:30:12 +0000 Received: by mail-wg0-f50.google.com with SMTP id es5so1832650wgb.29 for ; Thu, 07 Mar 2013 14:30:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:to:subject:from:organization:date:mime-version :content-type:content-transfer-encoding:message-id :x-gm-message-state; bh=95yddUHtx/fLNTsAK+dgDuwpVOZVWv09UjRSbOM1zis=; b=jrcgUXfJhDagjRaR7HLqEs0NxwUW1epSZPA2ezobYkBkXASSiAPWs57VDA/oH7HLTn nvOPphaRqhlNisEhdhEMBAz1JQcY6wHCuYPNIIGExyco6PW0M0pZVQsLQn4Dp7d2k0jd 8puo9oXtaveHZuDj37HggvYGBzX8V1k9mPkF8RrjUJ44+6uJQtpe7QineBAhX96dUKwF QNRdhZ+hvnoPx3hVOZ8IEiSyBNvlJ/qi3zFOh0gxfkoTdgPTnqfDkP3Jv1ATCU/To8ch 8lmfvYlKJfGTs1rZWE9ytG7cVq+Sl1/EjdOYtXFKzO5mmcafZiXbO8wFK2hrGOEZPTb9 DcsA== X-Received: by 10.194.173.167 with SMTP id bl7mr58135924wjc.50.1362695409303; Thu, 07 Mar 2013 14:30:09 -0800 (PST) Received: from wasted.dev.rtsoft.ru (ppp91-79-96-59.pppoe.mtu-net.ru. [91.79.96.59]) by mx.google.com with ESMTPS id n2sm36071035wiy.6.2013.03.07.14.30.07 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 07 Mar 2013 14:30:08 -0800 (PST) To: horms@verge.net.au, magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: shmobile: R8A7779: use gic_iid() in SATA IRQ resource From: Sergei Shtylyov Organization: Cogent Embedded Date: Fri, 8 Mar 2013 02:31:03 +0300 MIME-Version: 1.0 Message-Id: <201303080231.04149.sergei.shtylyov@cogentembedded.com> X-Gm-Message-State: ALoCoQmLD54tiAqdbZLUCqskCRWJ50gPjS1abEnXojB5ghisu+4M2i7UDJaxLRcA+a8ndxEbiMla X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130307_173011_955386_A649F0C6 X-CRM114-Status: GOOD ( 10.21 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.50 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Commit "ARM: shmobile: r8a7779: use gic_iid macro" switched R8A7779 platform devices to using gic_iid() macro instead of gic_spi() but commit "ARM: mach- shmobile: r8a7779: add SATA support" added another use of gic_spi(). Convert the SATA IRQ resource to using gic_iid(). Signed-off-by: Sergei Shtylyov Acked-by: Kuninori Morimoto --- This patch is atop of the 'next' branch of Simon Horman's renesas.git. arch/arm/mach-shmobile/setup-r8a7779.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: renesas/arch/arm/mach-shmobile/setup-r8a7779.c =================================================================== --- renesas.orig/arch/arm/mach-shmobile/setup-r8a7779.c +++ renesas/arch/arm/mach-shmobile/setup-r8a7779.c @@ -331,7 +331,7 @@ static struct resource sata_resources[] .flags = IORESOURCE_MEM, }, [1] = { - .start = gic_spi(100), + .start = gic_iid(0x84), .flags = IORESOURCE_IRQ, }, };