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: 109367 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp1673841qge; Thu, 3 Aug 2017 21:49:22 -0700 (PDT) X-Received: by 10.98.86.195 with SMTP id h64mr1076141pfj.99.1501822162403; Thu, 03 Aug 2017 21:49:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501822162; cv=none; d=google.com; s=arc-20160816; b=lwzXp2cu2ihfvB1iO8Y440Z6eDtgP3V9R2x6z85NyjwIIuWBASd1y0qXFziQfXdYRO gAqwrNJ9+7eld4dHXBfuieoiBzErteR1wRKWuiRBN6sxlkOneSScqrL/IWuj6nKmGOTp g0rr7X6bURrjJ4MVoz8Z+JzV1nJKyMLJqE4C0l1idy+7mP1qUxrpCIrNOSKY6LpdR0An D9jFt2epq2MnewEl4tzEzIWuKdidds1K0cyKbv7x5W3ZFso6jQ4Wi3+rWqb0W0jFdx7W 3yKTjcFskqgyIZokTDHAVqo8yymkb9thpS4O21b/qvqBTabe9s8Xl2N+jZqEZTKSI2Ya IyoA== 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=LuHLm2sYsc6JZzWT4TJzQZJQvkE3t42hoZkgE6HiJuU=; b=005924Uzj7y6JQ7RP8gk74A+Uaylx4Dfl5bZqxaMxhWPGS2j4UOU4DcnBuDIVZBXXs 9J2UJIwtw92Xxyzfja7qEgJqACeoAO8Y+vVlGRakQ+8nZmY/bGEbDMR9fbR1esgx1x9K 1pKaHbwUYpUC674SkBTzM8fvWzIn8JnanOyMftk2NFFn9KFa73bwxl2x38fXyyQDtx4q K1Q9vMtM91jJFa0YpoLrPNeNfZwRrY7kZgNPcBHxujbW/b4d5hBhjg480mPI1NWMoYDL fLTfVR5g+EYMMks1MvV01MCSS40ydiT1JS0rNXeZxIZzIuBNBgBnJFhbKrpHfdPIEoys qriA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=L4ktVD4c; 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 f7si509183plm.889.2017.08.03.21.49.22; Thu, 03 Aug 2017 21:49:22 -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=L4ktVD4c; 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 S1751178AbdHDEtV (ORCPT + 4 others); Fri, 4 Aug 2017 00:49:21 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:41937 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750899AbdHDEtU (ORCPT ); Fri, 4 Aug 2017 00:49:20 -0400 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 Cc: Masahiro Yamada , Mika Westerberg , Paul Gortmaker , Linus Walleij , linux-kernel@vger.kernel.org, Andy Shevchenko , Barry Song , Julia Cartwright , Christophe JAILLET , linux-arm-kernel@lists.infradead.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 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/sirf/pinctrl-atlas7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 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/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,