From patchwork Tue Mar 19 06:31:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 15420 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 B63A923E2C for ; Tue, 19 Mar 2013 06:42:37 +0000 (UTC) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by fiordland.canonical.com (Postfix) with ESMTP id 52366A18C11 for ; Tue, 19 Mar 2013 06:42:37 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id kw10so102513vcb.14 for ; Mon, 18 Mar 2013 23:42:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=The8i1X9MOPYiaAIUcqHPju2KuY/bHP8qmtQ1Fd/MFA=; b=XBsJKnW3C8R8TR98+1UB75QV37uSaQ/1mXSS328dprkiMa1E8Cd2bNwCb+x/BFJi3w 9EmukYv7my4Ck8EDPrlHWfXRrcLxHt+QlcMqwi6Syy14uHKdFImJ+C1p3qjSOGaWva38 oChaHDvV0soJqPvOAKRQfu7qBNNZ82dpB18IXwzpVGBXiSofw8R0bmfNWjp5TqdccLjo TnWl6sKLhqlga0IdXb9UuxnxnT1QbAjw5mSZ652f7VKjW/ybm3PfpEcZQ6WcTIgFPq7D ZjpJdlo/zL1x0cctE9aCum0DNEHnu6ffKcKonoZpzjnO8U7QnL1i+HqkcSagd6OeRlZS fFjg== X-Received: by 10.52.109.5 with SMTP id ho5mr748474vdb.75.1363675356718; Mon, 18 Mar 2013 23:42:36 -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.58.127.98 with SMTP id nf2csp78686veb; Mon, 18 Mar 2013 23:42:36 -0700 (PDT) X-Received: by 10.66.168.6 with SMTP id zs6mr1644713pab.5.1363675355942; Mon, 18 Mar 2013 23:42:35 -0700 (PDT) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx.google.com with ESMTPS id tm7si24618555pbc.270.2013.03.18.23.42.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Mar 2013 23:42:35 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.169; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pd0-f169.google.com with SMTP id 3so64479pdj.14 for ; Mon, 18 Mar 2013 23:42:35 -0700 (PDT) X-Received: by 10.66.3.203 with SMTP id e11mr1491733pae.188.1363675355466; Mon, 18 Mar 2013 23:42:35 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ab1sm23076074pbd.37.2013.03.18.23.42.33 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 18 Mar 2013 23:42:34 -0700 (PDT) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: linus.walleij@linaro.org, sachin.kamat@linaro.org, patches@linaro.org, Patrice Chotard Subject: [PATCH 5/5] pinctrl: ab8505: Staticize some symbols Date: Tue, 19 Mar 2013 12:01:21 +0530 Message-Id: <1363674681-4015-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1363674681-4015-1-git-send-email-sachin.kamat@linaro.org> References: <1363674681-4015-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQmadvI7CZmvuL9TKqgLCmgsxQmeWDWY2ey+dHlc9EcOCUYCrJ4u9ue644f2TqAGuxWzvcUO Silences the following warnings: drivers/pinctrl/pinctrl-ab8505.c:274:28: warning: symbol 'ab8505_alternate_functions' was not declared. Should it be static? drivers/pinctrl/pinctrl-ab8505.c:351:32: warning: symbol 'ab8505_gpio_irq_cluster' was not declared. Should it be static? Signed-off-by: Sachin Kamat Cc: Patrice Chotard Acked-by: Patrice Chotard --- drivers/pinctrl/pinctrl-ab8505.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-ab8505.c b/drivers/pinctrl/pinctrl-ab8505.c index 3a4238e..2841db7 100644 --- a/drivers/pinctrl/pinctrl-ab8505.c +++ b/drivers/pinctrl/pinctrl-ab8505.c @@ -271,7 +271,8 @@ static const struct abx500_function ab8505_functions[] = { * alt_A | 1 | 0 | 0 */ -struct alternate_functions ab8505_alternate_functions[AB8505_GPIO_MAX_NUMBER + 1] = { +static struct +alternate_functions ab8505_alternate_functions[AB8505_GPIO_MAX_NUMBER + 1] = { ALTERNATE_FUNCTIONS(0, UNUSED, UNUSED, UNUSED, 0, 0, 0), /* no GPIO0 */ ALTERNATE_FUNCTIONS(1, 0, UNUSED, UNUSED, 0, 0, 0), /* GPIO1, altA controlled by bit 0 */ ALTERNATE_FUNCTIONS(2, 1, UNUSED, UNUSED, 0, 0, 0), /* GPIO2, altA controlled by bit 1 */ @@ -348,7 +349,7 @@ struct alternate_functions ab8505_alternate_functions[AB8505_GPIO_MAX_NUMBER + 1 * GPIO50 * GPIO52 to GPIO53 */ -struct abx500_gpio_irq_cluster ab8505_gpio_irq_cluster[] = { +static struct abx500_gpio_irq_cluster ab8505_gpio_irq_cluster[] = { GPIO_IRQ_CLUSTER(10, 11, AB8500_INT_GPIO10R), GPIO_IRQ_CLUSTER(13, 13, AB8500_INT_GPIO13R), GPIO_IRQ_CLUSTER(40, 41, AB8500_INT_GPIO40R),