From patchwork Thu Mar 22 07:42:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10300923 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 C626F60349 for ; Thu, 22 Mar 2018 07:43:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B868928429 for ; Thu, 22 Mar 2018 07:43:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AAB9A2996F; Thu, 22 Mar 2018 07:43:01 +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 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 36B1C28429 for ; Thu, 22 Mar 2018 07:43:00 +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=CWLsFcoRCFU+PLbqnK/4bp+zyLcJ64ad4synF/5lNXY=; b=BUcHX66iMScMxX 0vtN06HWgkuly6hPw0VBVUXZWW1PeissbrY/fjn1pcnRKSsriB9DuW1pNGtp1pSCWkE9zWYEAEOw6 u1BSbeQh3VigYI4GM2NzGQVD6J8fBYl7gQxV91Se4LzncmuB4CtOAauovN2F93lGI8UR5/2XZmugt KExtW6KtwSf9k1CimNJ2Isutr45yKtN5cQpBKnd4jCekvrI7rhTWxv1/S9j/XH8QRY0g6TehRXQVm M0lR5b0tXqdnPb9beb+ZqsOKeXjrqvrsPjaxlYEZJwi4nu6Kli6zfhT6BnK+2tGlqj6CCIjWDN8H4 vu80z/M++jJU5wJBucyA==; 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 1eyusB-0007tJ-Px; Thu, 22 Mar 2018 07:42:55 +0000 Received: from mga12.intel.com ([192.55.52.136]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1eyus8-0007qU-Oz for linux-arm-kernel@lists.infradead.org; Thu, 22 Mar 2018 07:42:54 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Mar 2018 00:42:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,343,1517904000"; d="scan'208";a="26051542" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga007.fm.intel.com with ESMTP; 22 Mar 2018 00:42:37 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1eyurt-000PhP-33; Thu, 22 Mar 2018 15:42:37 +0800 Date: Thu, 22 Mar 2018 15:42:18 +0800 From: kbuild test robot To: Chen-Yu Tsai Subject: [RFC PATCH] net: stmmac: dwmac-sun8i: sun8i_syscon_reg_field can be static Message-ID: <20180322074217.GA7358@ivytown2.lkp.intel.com> References: <20180317092857.4396-7-wens@csie.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180317092857.4396-7-wens@csie.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@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-20180322_004252_837155_31222CF6 X-CRM114-Status: GOOD ( 21.34 ) 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 , 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 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: 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,