From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [RFC PATCH] net: stmmac: dwmac-sun8i: sun8i_syscon_reg_field can be static Date: Thu, 22 Mar 2018 15:42:18 +0800 Message-ID: <20180322074217.GA7358@ivytown2.lkp.intel.com> References: <20180317092857.4396-7-wens@csie.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20180317092857.4396-7-wens@csie.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org Cc: Mark Rutland , devicetree@vger.kernel.org, Maxime Ripard , netdev@vger.kernel.org, Michael Turquette , Stephen Boyd , Chen-Yu Tsai , Rob Herring , Mark Brown , kbuild-all@01.org, Corentin Labbe , Giuseppe Cavallaro , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng List-Id: devicetree@vger.kernel.org Fixes: e3c10deef23c ("net: stmmac: dwmac-sun8i: Use regmap_field for syscon register access") Signed-off-by: Fengguang Wu --- dwmac-sun8i.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c index de93f0f..bbc0514 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c @@ -79,7 +79,7 @@ struct sunxi_priv_data { }; /* EMAC clock register @ 0x30 in the "system control" address range */ -const struct reg_field sun8i_syscon_reg_field = { +static const struct reg_field sun8i_syscon_reg_field = { .reg = 0x30, .lsb = 0, .msb = 31,