From patchwork Mon Feb 11 14:01:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 219609 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 479622C02F5 for ; Tue, 12 Feb 2013 01:05:26 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U4txU-00029m-MU; Mon, 11 Feb 2013 14:02:12 +0000 Received: from mail-gh0-f182.google.com ([209.85.160.182]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U4txM-00028p-7G for linux-arm-kernel@lists.infradead.org; Mon, 11 Feb 2013 14:02:05 +0000 Received: by mail-gh0-f182.google.com with SMTP id z15so1233919ghb.27 for ; Mon, 11 Feb 2013 06:02:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=B0Ig1ivgt5u0AzHdkgarkO4a55W+P3fcMsPpkPpt7Ww=; b=R0KrWP+7XMxVYsm2CrubrLm9WK5zCng5OMqh96sl+3Apv0wSZ/GqLfFGYOuzGuZQ5k H9dZzhv4RA2aZGHZH0nth9gPhAlEaWpCdT2iWybDdSH7EFwxFKjo8oSJ/qUy92RJRdfh s6LHAxUa3s0gtVntEs+i3ovMO84HfmFME8bR+U88HLjXoElNqWzxV7YwNkpeY5CG6Tfo YOVVoLgikq95/tmdD74KGjHP8d/LvDUkTdQTT5c7HC5qtOYfvkY3uOH1xJ2uwJUhDGZT W9J24He4RaTgrKeEbOTlf05WF6KjHejZU1j402s+PA/1GMenonk3FryD4n3CXeY2Lm95 wJnA== X-Received: by 10.236.138.42 with SMTP id z30mr17825033yhi.101.1360591322278; Mon, 11 Feb 2013 06:02:02 -0800 (PST) Received: from localhost.localdomain ([201.82.137.218]) by mx.google.com with ESMTPS id s3sm68070014yhm.10.2013.02.11.06.02.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Feb 2013 06:02:01 -0800 (PST) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH 2/3] ARM: mxs: icoll: Fix sparse warning Date: Mon, 11 Feb 2013 12:01:47 -0200 Message-Id: <1360591308-7482-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1360591308-7482-1-git-send-email-festevam@gmail.com> References: <1360591308-7482-1-git-send-email-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130211_090204_345749_5E1701D4 X-CRM114-Status: GOOD ( 13.03 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.182 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Fabio Estevam , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam Fix the following sparse warning: arch/arm/mach-mxs/icoll.c:103:13: warning: symbol 'icoll_of_init' was not declared. Should it be static? Signed-off-by: Fabio Estevam --- arch/arm/mach-mxs/icoll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mxs/icoll.c b/arch/arm/mach-mxs/icoll.c index 8fb23af..e26eeba 100644 --- a/arch/arm/mach-mxs/icoll.c +++ b/arch/arm/mach-mxs/icoll.c @@ -100,7 +100,7 @@ static struct irq_domain_ops icoll_irq_domain_ops = { .xlate = irq_domain_xlate_onecell, }; -void __init icoll_of_init(struct device_node *np, +static void __init icoll_of_init(struct device_node *np, struct device_node *interrupt_parent) { /*