From patchwork Fri Aug 4 04:47:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9880433 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 E1B6660360 for ; Fri, 4 Aug 2017 04:48:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF63828970 for ; Fri, 4 Aug 2017 04:48:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C14CC28985; Fri, 4 Aug 2017 04:48:59 +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 5B89628970 for ; Fri, 4 Aug 2017 04:48:59 +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=c5w+vNcyF0TxkURy6iAsBF+uyFk8J7ME2bSrpRhPhZ0=; b=Oa2 KRHxWRwoaPC0B2LTHjQMBQ6tyer4KqZ9pVg+Lu9pB38cxHEG/+jrwYM6v3q1k65pJnwfyZtlEhV7K 2UfZvIqs41B1k6J5PncsYTLeXBDIjwR8H09WICVWy825kBR71x9mjdlA6j+WzQwSSCdbViHjfAkDN NR5KgOlZyrEdy5X36hwiL5BQtsl5lq8jWXWtRym8J4XlFAuB9mZkLdqVvknLy0VKMBorvoy4iveYJ 6NIIKV6ipRjehIjWSjrj/eb/usYLu083x8KUsBPtbKcmzQWuT5RVLDkh10mLL1MO4aYaOOF98xFx5 ABbEmqSBN9QrQMMQCA3ENouCgGJaWNQ==; 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 1ddUXf-0002CX-BT; Fri, 04 Aug 2017 04:48:55 +0000 Received: from conuserg-07.nifty.com ([210.131.2.74]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ddUXV-000288-T7 for linux-arm-kernel@lists.infradead.org; Fri, 04 Aug 2017 04:48:52 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id v744lgEO019535; Fri, 4 Aug 2017 13:47:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v744lgEO019535 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1501822063; bh=VbryjTDxvmmm2GAHs2jyVxpWFztbHNvWH865YDDmBSI=; h=From:To:Cc:Subject:Date:From; b=L4ktVD4cz7IaH0NiPev05s75iwArmowsrpeCoSvz5FbMux2BAFjSXKgjGIT5TaIc5 Zji+Ko0qgma0e4sFeFc5tgs5p5RrfCza88pdgkljbaWIaWac/hLs8iTRcgAGFpFVk7 odVIMytO103FcXE/y7QxiemNVjwbi2WzWW3jFd2M4IvgXB1THbgMzBESoth8JNVoho IJw8zHjNC8uXiC9AiDp1UPBH5hCLE7D8cqQ0qbQksJuYOkXleXNVdQ6QeqsK44yrtZ bYSIxjDcxPoEhQRgL1ETcEuJlFk+K4rczswgacA9wWraI4es3zR+eACv7kHVBEZL6a aTR30ZDKsdB6A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-gpio@vger.kernel.org Subject: [PATCH] pinctrl: sirf: add static to local data Date: Fri, 4 Aug 2017 13:47:37 +0900 Message-Id: <1501822057-22628-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_214846_297906_B9D85435 X-CRM114-Status: UNSURE ( 7.43 ) 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: Barry Song , Paul Gortmaker , Linus Walleij , Julia Cartwright , linux-kernel@vger.kernel.org, Masahiro Yamada , Christophe JAILLET , Andy Shevchenko , Mika Westerberg , linux-arm-kernel@lists.infradead.org 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/sirf/pinctrl-atlas7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/sirf/pinctrl-atlas7.c b/drivers/pinctrl/sirf/pinctrl-atlas7.c index 1efa315a7dbe..b3de1eb04ec1 100644 --- a/drivers/pinctrl/sirf/pinctrl-atlas7.c +++ b/drivers/pinctrl/sirf/pinctrl-atlas7.c @@ -549,7 +549,7 @@ static const struct pinctrl_pin_desc atlas7_ioc_pads[] = { PINCTRL_PIN(163, "jtag_trstn"), }; -struct atlas7_pad_config atlas7_ioc_pad_confs[] = { +static struct atlas7_pad_config atlas7_ioc_pad_confs[] = { /* The Configuration of IOC_RTC Pads */ PADCONF(0, 3, 0x0, 0x100, 0x200, -1, 0, 0, 0, 0), PADCONF(1, 3, 0x0, 0x100, 0x200, -1, 4, 2, 2, 0), @@ -1002,7 +1002,7 @@ static const unsigned int vi_vip1_high8bit_pins[] = { 82, 83, 84, 103, 104, 105, 106, 107, 102, 97, 98, }; /* definition of pin group table */ -struct atlas7_pin_group altas7_pin_groups[] = { +static struct atlas7_pin_group altas7_pin_groups[] = { GROUP("gnss_gpio_grp", gnss_gpio_pins), GROUP("lcd_vip_gpio_grp", lcd_vip_gpio_pins), GROUP("sdio_i2s_gpio_grp", sdio_i2s_gpio_pins), @@ -4764,7 +4764,7 @@ static struct atlas7_pmx_func atlas7_pmx_functions[] = { &vi_vip1_high8bit_grp_mux), }; -struct atlas7_pinctrl_data atlas7_ioc_data = { +static struct atlas7_pinctrl_data atlas7_ioc_data = { .pads = (struct pinctrl_pin_desc *)atlas7_ioc_pads, .pads_cnt = ARRAY_SIZE(atlas7_ioc_pads), .grps = (struct atlas7_pin_group *)altas7_pin_groups,