From patchwork Tue Dec 20 11:28:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 88583 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1668290qgi; Tue, 20 Dec 2016 03:29:07 -0800 (PST) X-Received: by 10.84.168.4 with SMTP id e4mr42155883plb.160.1482233347083; Tue, 20 Dec 2016 03:29:07 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y65si8405077plh.248.2016.12.20.03.29.06; Tue, 20 Dec 2016 03:29:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758963AbcLTL2h (ORCPT + 4 others); Tue, 20 Dec 2016 06:28:37 -0500 Received: from mail-wj0-f176.google.com ([209.85.210.176]:35302 "EHLO mail-wj0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762151AbcLTL2f (ORCPT ); Tue, 20 Dec 2016 06:28:35 -0500 Received: by mail-wj0-f176.google.com with SMTP id v7so173982741wjy.2 for ; Tue, 20 Dec 2016 03:28:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jKGBuG4vKo0nlgX1B/VTLC5E/pJBq7QqNSAMcO8x7bQ=; b=eaMcT4AAj4G704alJ1eDY0Cwb2DyN7x8Ij6CRS1Xj7QUJq7p5YtdV2+FcM1Vd9PJID Am4qE4cpGMcQ74xVk4oCYkx0kNq5F6TSB62RZli8LZ6q85LDA4gI1aKPr7DszWhFVeXA JYDZ28xo+7psOXcW1psBngpKZ4zVNQD05t2WvZl0WTLbfofuytT27/3iH2V4abPI9KYS p928amzdFzRa+u1pSI0Mr10d9u+KPcdqs3rlqVMBcCwkP0UbotAr7XQpodf9tfAWoEkO Nu1mAVpAQyHznmHMagc0g+8uQbp5q+k9SMHcmtHiz9gNumPqz8zk/bAF/vGuup2rZju4 bSvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jKGBuG4vKo0nlgX1B/VTLC5E/pJBq7QqNSAMcO8x7bQ=; b=lZZH4CHFB+YBkLCKQ8gOl4Zus0I9w5RsaQ2afeqj2pP6EexWIQfon8xZycMkm4gcNV IBaSg/QQBn3mAr7Rn3qfSPH8fJhHebIURPpPOB1nKHMoQ07gsOHwaF4ZabwqkXPIkyQ2 MCTPLM/1brJ8mrdHuWi5xUy2Rbu0vEhWuS6a04EwxhYO2i4Iox0pEKRJSMJFGjyAeV61 CyxY45siT7iwv34ntLLv7VMtvLhJq2cSRpd2E3tGTeQRX7y+Z+2ipbwiJK9m+iDuxZ7R 1aVuYNKUgCVS1L6ofh8xx2JwJXP7qUqO1C+sUL4anOkzTemo3xZjJ2Iu7WMbQq4Ln9Qu FFzQ== X-Gm-Message-State: AIkVDXI0tIRxxWznl6ChEyshl1LBmxccKRVit8EuIUGDuZbaudfn+HyZQY0Sw7mepa+IpkBF X-Received: by 10.195.11.41 with SMTP id ef9mr17633849wjd.89.1482233313977; Tue, 20 Dec 2016 03:28:33 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id x5sm25070467wje.36.2016.12.20.03.28.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Dec 2016 03:28:33 -0800 (PST) From: Bartosz Golaszewski To: Bamvor Jian Zhang , Linus Walleij , Alexandre Courbot Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 1/3] gpio: mockup: make pins_name_start static Date: Tue, 20 Dec 2016 12:28:18 +0100 Message-Id: <1482233300-20078-2-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1482233300-20078-1-git-send-email-bgolaszewski@baylibre.com> References: <1482233300-20078-1-git-send-email-bgolaszewski@baylibre.com> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This variable is not used outside this module. Make it static. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index 1ef85b0..af0c1e8 100644 --- a/drivers/gpio/gpio-mockup.c +++ b/drivers/gpio/gpio-mockup.c @@ -43,7 +43,7 @@ static int gpio_mockup_ranges[MAX_GC << 1]; static int gpio_mockup_params_nr; module_param_array(gpio_mockup_ranges, int, &gpio_mockup_params_nr, 0400); -const char pins_name_start = 'A'; +static const char pins_name_start = 'A'; static int mockup_gpio_get(struct gpio_chip *gc, unsigned int offset) {