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: 9880431 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7930760360 for ; Fri, 4 Aug 2017 04:48:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 683EB2896E for ; Fri, 4 Aug 2017 04:48:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D32628985; Fri, 4 Aug 2017 04:48:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EE5632896E for ; Fri, 4 Aug 2017 04:48:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=W6NPmJXQCH83f21Y6ccHbyPzjKCA5aegFxhLcpdbx+k=; b=Y7i 0YpWG7oQ9t3pOmMpu1WeS95Bg6m7aUsAIx+i5du+jTKw4vpp5udXp7cl54kh3cLDilBf7rllJTsaC 6u5wSbaEEplNF2LGIOEa+4Nfp8HiW+tM6zNjo2F2GqMiHsM3FaY9FVR8dYzJVOm+2BPst4Gws7SnH XqKsQ27FtgArV7imnelNI07v9R2KzmnmiXn7c9gvY1095vQgUxdWhWCaDNBVxUnBvzRzcUAYRWeYz 9YXXMos5E/YKPTFF6LApiFIZEDCxq21MNiRN0SYvdqAUbsGylHnB7MSp+FzxKoiYBDRPZShnwva10 McTcA5JffXR6IdjC/ucAZz2hNR9PnQA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ddUWr-0001sS-Dp; Fri, 04 Aug 2017 04:48:05 +0000 Received: from conuserg-10.nifty.com ([210.131.2.77]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ddUWo-0001ra-7L for linux-arm-kernel@lists.infradead.org; Fri, 04 Aug 2017 04:48:03 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170803_214802_510165_5EEAC267 X-CRM114-Status: UNSURE ( 7.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Jason Cooper , Linus Walleij , linux-kernel@vger.kernel.org, Masahiro Yamada , Gregory CLEMENT , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Detected by sparse. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,