From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [RFC PATCH] pinctrl: actions: s700_pads[] can be static Date: Mon, 30 Jul 2018 06:00:45 +0800 Message-ID: <20180729220045.GA5007@lkp-ib03> References: <20180729200038.11795-5-sravanhome@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180729200038.11795-5-sravanhome@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Cc: kbuild-all@01.org, manivannan.sadhasivam@linaro.org, linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, afaerber@suse.de, catalin.marinas@arm.com, will.deacon@arm.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, pn@denx.de, mp-cs@actions-semi.com, jeff.chen@actions-semi.com, thomas.liau@actions-semi.com, linux@cubietech.com, Saravanan Sekar List-Id: devicetree@vger.kernel.org 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),