From patchwork Fri Aug 4 04:47:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 109366 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp1673143qge; Thu, 3 Aug 2017 21:48:24 -0700 (PDT) X-Received: by 10.99.55.1 with SMTP id e1mr1066319pga.176.1501822104646; Thu, 03 Aug 2017 21:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501822104; cv=none; d=google.com; s=arc-20160816; b=qo7He1Gdh71wTDP8KOnsBMGKYqS5hAKP/V8j0AhOMBZ4Szjrndl+QOo/18jPDk8qLm ExXh+LjGIRj9GFDRwbAT7kW4KgAX1lTHAoTCOt8Ys1CVN1oNVhuvoPCzxZmeLxykRJ1R OjB9lvEuqkZvi4wdQLXrbox15LW+KVp0bYgDmG3xff9CkIMTH3T/H/nFLBN5+oRjiqny Al0Dvr/r0XrioMyr2u3k5mhkLoGM52HoIwB0ogm5ONge76FCHzic8d+0EeTdf727mKea fZOMiVfquPHqwj1NNHKQeC64IKmSl+ssfv0dQcRa8RfXeo9hcW5N/4Dw5AssHApBBAKC miZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=sWvvTC3QuY94nhvXgndvqg4AsC0aCY1fpZgiUaNE8h0=; b=0tm8iqMZU1PtJQvnN1fde9Rxpleb6n8s8LR3eOJ4LtFncLn5LZAbS84Y/eeR1PYK1t qJe0R7eoAfbTwj833mQx/SjKIIX5Bu194qw5daPxXsEQBbQCYIGgEgCyiHtZKOU9govO 6enooexmvduAcMcpRwvy4NoH4FxWJgB43YZ+WtItbt0yvW5mUK0nAKjCLNmQhzq3w7M0 HnZiANleo6ZUuA66rwgGzyq7MAQSz5TbQHnor/mDSw04MzkZZkTVKE3MWclIfOr1tCNz /qvZq3IVcyZcxF7EMjRZU+nY5jiGQpX086xVXwq1Z7xbDiJf7/bOaGKN4NsQPDj0KQfD YRrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=s5ZnEmWt; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si427691pgr.325.2017.08.03.21.48.24; Thu, 03 Aug 2017 21:48:24 -0700 (PDT) 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=@nifty.com header.b=s5ZnEmWt; 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 S1751248AbdHDEsX (ORCPT + 4 others); Fri, 4 Aug 2017 00:48:23 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:16386 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751178AbdHDEsW (ORCPT ); Fri, 4 Aug 2017 00:48:22 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id v744lA6C018430; Fri, 4 Aug 2017 13:47:10 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com v744lA6C018430 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1501822031; bh=cpSOdyyaFhSrVWIhExKmqsVubNwMLI3rYAsLztuWa+w=; h=From:To:Cc:Subject:Date:From; b=s5ZnEmWtMI4KBvKfNFy2Hk3UEM/CrH1adHk3vsoesos7fqvVnFsKPalDbEEZ8Wiww +eWFAr12nnvnNJ2Oyr0/Brndu7K5q5rO596e27zitGDb6UP7B1SeamQ2vcLddEKjPg QRNCEDILEbQBKJRYeWO18XB2oo1MKaAwzXJRlJEu7Ii7zds+Ai6A6fLpywvW4ac8YN /mftLoD0Upv1KrDU1yrWsQrIyhD2oOFXc2b30BdssNq6E4gikOeqdqLj/A8YMCXkNy jNEjSH+8KqMUdUXQOjk5CtO3cVkj5u1e+AwsEIBesP9qfbgunAXzmqB9Y3PO3/FNn0 PXTdCqentZwBA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-gpio@vger.kernel.org Cc: Gregory CLEMENT , Masahiro Yamada , linux-kernel@vger.kernel.org, Linus Walleij , Sebastian Hesselbarth , Jason Cooper , Andrew Lunn , linux-arm-kernel@lists.infradead.org Subject: [PATCH] pinctrl: armada-37xx: add static to local data Date: Fri, 4 Aug 2017 13:47:00 +0900 Message-Id: <1501822020-22511-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Detected by sparse. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 -- 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/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c index f024e25787fc..0b263b90a9a8 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c @@ -179,14 +179,14 @@ static struct armada_37xx_pin_group armada_37xx_sb_groups[] = { PIN_GRP("mii_col", 23, 1, BIT(8), "mii", "mii_err"), }; -const struct armada_37xx_pin_data armada_37xx_pin_nb = { +static const struct armada_37xx_pin_data armada_37xx_pin_nb = { .nr_pins = 36, .name = "GPIO1", .groups = armada_37xx_nb_groups, .ngroups = ARRAY_SIZE(armada_37xx_nb_groups), }; -const struct armada_37xx_pin_data armada_37xx_pin_sb = { +static const struct armada_37xx_pin_data armada_37xx_pin_sb = { .nr_pins = 29, .name = "GPIO2", .groups = armada_37xx_sb_groups,