From patchwork Sun Jul 29 22:00:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10548321 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 736E91751 for ; Sun, 29 Jul 2018 22:01:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63E3529949 for ; Sun, 29 Jul 2018 22:01:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5700129969; Sun, 29 Jul 2018 22:01:42 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 D867029949 for ; Sun, 29 Jul 2018 22:01:41 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+iKZpemWUzcU1LNC9SE4JCd3GqNIrw123/Ybi3qq9vQ=; b=LaCLJPLvanNXGN 86TqTpDbboL65yuOcAjw424u9xNzb1EAmnI6tis8oTBeqBv2DZYKyaWsjyvkLrVkRXvhN76iUsbFH Laz3lQXXkA1qdQoIZYxwWuyxPecvsZg6kx9d+0QBTSfvKP+gTucI3Pbyb3RcGekDKE0qLqHQH3dNC JpEJJtD68tGrkJEbYSvq97GNhB3HI/R1FY1iP0C9LT+E+zZPofPkO3D5kMLR4lPUqSAlkfwHOTOJa ukgHF8hUUQFUhMbhfXxwqoAxSjohI27EETEVvGolrN5XA85fvXTO/X6sP3qCcGnGMD0BwsUvnokW1 WhCTsbOM4UuZwYgep2Fg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fjtkr-0006zt-QP; Sun, 29 Jul 2018 22:01:33 +0000 Received: from mga11.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fjtko-0006y2-8w for linux-arm-kernel@lists.infradead.org; Sun, 29 Jul 2018 22:01:32 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jul 2018 15:01:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,420,1526367600"; d="scan'208";a="71505140" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 29 Jul 2018 15:01:16 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fjtkW-000TFR-AJ; Mon, 30 Jul 2018 06:01:12 +0800 Date: Mon, 30 Jul 2018 06:00:45 +0800 From: kbuild test robot To: Saravanan Sekar Subject: [RFC PATCH] pinctrl: actions: s700_pads[] can be static Message-ID: <20180729220045.GA5007@lkp-ib03> References: <20180729200038.11795-5-sravanhome@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180729200038.11795-5-sravanhome@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180729_150130_327629_33996085 X-CRM114-Status: GOOD ( 18.58 ) 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: mark.rutland@arm.com, devicetree@vger.kernel.org, linux@cubietech.com, Saravanan Sekar , jeff.chen@actions-semi.com, catalin.marinas@arm.com, linus.walleij@linaro.org, will.deacon@arm.com, linux-kernel@vger.kernel.org, thomas.liau@actions-semi.com, linux-gpio@vger.kernel.org, robh+dt@kernel.org, kbuild-all@01.org, manivannan.sadhasivam@linaro.org, pn@denx.de, afaerber@suse.de, linux-arm-kernel@lists.infradead.org, mp-cs@actions-semi.com 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 Fixes: e96a1c4b279a ("pinctrl: actions: Add Actions Semi S700 pinctrl driver") Signed-off-by: kbuild test robot --- pinctrl-s700.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/actions/pinctrl-s700.c b/drivers/pinctrl/actions/pinctrl-s700.c index 7e9d23a..df69827 100644 --- a/drivers/pinctrl/actions/pinctrl-s700.c +++ b/drivers/pinctrl/actions/pinctrl-s700.c @@ -225,7 +225,7 @@ #define NUM_PADS (_LASTPAD - _FIRSTPAD + 1) /* Pad names for the pinmux subsystem */ -const struct pinctrl_pin_desc s700_pads[] = { +static const struct pinctrl_pin_desc s700_pads[] = { PINCTRL_PIN(ETH_TXD0, "eth_txd0"), PINCTRL_PIN(ETH_TXD1, "eth_txd1"), PINCTRL_PIN(ETH_TXD2, "eth_txd2"), @@ -1549,7 +1549,7 @@ static const char * const sirq2_groups[] = { "sirq2_dummy", }; -const struct owl_pinmux_func s700_functions[] = { +static const struct owl_pinmux_func s700_functions[] = { [S700_MUX_NOR] = FUNCTION(nor), [S700_MUX_ETH_RGMII] = FUNCTION(eth_rmii), [S700_MUX_ETH_SGMII] = FUNCTION(eth_smii), @@ -1697,7 +1697,7 @@ static PAD_PULLCTL_CONF(I2C2_SCLK, 2, 7, 1); /********PAD INFOS*****************************/ /* Pad info table for the pinmux subsystem */ -struct owl_padinfo s700_padinfo[NUM_PADS] = { +static struct owl_padinfo s700_padinfo[NUM_PADS] = { [ETH_TXD0] = PAD_INFO_ST(ETH_TXD0), [ETH_TXD1] = PAD_INFO_ST(ETH_TXD1), [ETH_TXEN] = PAD_INFO_ST(ETH_TXEN),