From patchwork Tue Mar 19 06:31:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 15419 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 F11FB23E2C for ; Tue, 19 Mar 2013 06:42:34 +0000 (UTC) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by fiordland.canonical.com (Postfix) with ESMTP id AA520A18C11 for ; Tue, 19 Mar 2013 06:42:34 +0000 (UTC) Received: by mail-vc0-f171.google.com with SMTP id ha11so104632vcb.2 for ; Mon, 18 Mar 2013 23:42:34 -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=3PZqG7IvY2rX3NqAYLBaMkji+T2IRrGoCsVTCFYAU2E=; b=iFd4oIUUqshzt54Fpwg8oG7Eb42C7ZeIf1H3tFB9tm7rnCGuAEFVtXl+FZGVlwG+yQ 9JaR8xlmSZynL1cwuElZ0iHKlzaHaic1pvxtnOvtoVNFX2+sGsN9da3T8j7eUfMDfpgV mjV5NZG3JknE/SM/dUALwGHN1A8ndWEruV9CTg9hoPcS+BXSlUfbF1vXH+MDCbiTXtwk 5Htde3J4EEYwWhAeJ1qi3A/E8pBZwn7FDkmSyAh20r71FvLb3lBQNCjlNSElDgm/7CkD ZR7ZnUp9JSsDDoSNJE9l1/q+Yc5M5f2a9udE5ik33ac6AlguwxJBegq/Y42GTb8K4OHv 1jGg== X-Received: by 10.52.93.235 with SMTP id cx11mr750971vdb.51.1363675354177; Mon, 18 Mar 2013 23:42:34 -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 nf2csp78685veb; Mon, 18 Mar 2013 23:42:33 -0700 (PDT) X-Received: by 10.68.58.3 with SMTP id m3mr1402002pbq.69.1363675353161; Mon, 18 Mar 2013 23:42:33 -0700 (PDT) Received: from mail-da0-x233.google.com (mail-da0-x233.google.com [2607:f8b0:400e:c00::233]) by mx.google.com with ESMTPS id bv10si10229742pad.193.2013.03.18.23.42.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Mar 2013 23:42:33 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::233 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c00::233; Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c00::233 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-da0-f51.google.com with SMTP id g27so28753dan.38 for ; Mon, 18 Mar 2013 23:42:32 -0700 (PDT) X-Received: by 10.66.191.161 with SMTP id gz1mr1652004pac.25.1363675352790; Mon, 18 Mar 2013 23:42:32 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ab1sm23076074pbd.37.2013.03.18.23.42.30 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 18 Mar 2013 23:42:32 -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 4/5] pinctrl: ab8540: Staticize some symbols Date: Tue, 19 Mar 2013 12:01:20 +0530 Message-Id: <1363674681-4015-4-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: ALoCoQlVfgazG4nWmwxKHUpWkuzEAMCTTRW/fy31GRvcV+wrlsHrtptpBnb+Hng9jVrmA/aY6kIm Silences the following warnings: drivers/pinctrl/pinctrl-ab8540.c:302:28: warning: symbol 'ab8540_alternate_functions' was not declared. Should it be static? drivers/pinctrl/pinctrl-ab8540.c:379:32: warning: symbol 'ab8540_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-ab8540.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-ab8540.c b/drivers/pinctrl/pinctrl-ab8540.c index 8ee1e8d..9867535 100644 --- a/drivers/pinctrl/pinctrl-ab8540.c +++ b/drivers/pinctrl/pinctrl-ab8540.c @@ -299,7 +299,8 @@ static const struct abx500_function ab8540_functions[] = { * */ -struct alternate_functions ab8540_alternate_functions[AB8540_GPIO_MAX_NUMBER + 1] = { +static struct +alternate_functions ab8540_alternate_functions[AB8540_GPIO_MAX_NUMBER + 1] = { /* GPIOSEL1 - bit 4-7 reserved */ 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 */ @@ -376,7 +377,7 @@ static struct pullud ab8540_pullud = { * GPIO43 to GPIO44 * GPIO51 to GPIO54 */ -struct abx500_gpio_irq_cluster ab8540_gpio_irq_cluster[] = { +static struct abx500_gpio_irq_cluster ab8540_gpio_irq_cluster[] = { GPIO_IRQ_CLUSTER(43, 43, AB8540_INT_GPIO43F), GPIO_IRQ_CLUSTER(44, 44, AB8540_INT_GPIO44F), GPIO_IRQ_CLUSTER(51, 54, AB9540_INT_GPIO51R),