From patchwork Mon Oct 19 20:46:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7439761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CCBFB9F52D for ; Mon, 19 Oct 2015 20:53:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08AFD206EC for ; Mon, 19 Oct 2015 20:53:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F881206E8 for ; Mon, 19 Oct 2015 20:53:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZoHOW-0001oE-Hx; Mon, 19 Oct 2015 20:51:00 +0000 Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZoHOU-0001nJ-Uo for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2015 20:50:59 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 19 Oct 2015 13:46:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,703,1437462000"; d="scan'208";a="814675316" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 19 Oct 2015 13:46:55 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1ZoHKK-000UTc-Jy; Tue, 20 Oct 2015 04:46:40 +0800 Date: Tue, 20 Oct 2015 04:46:26 +0800 From: kbuild test robot To: WingMan Kwok Subject: [RFC PATCH] phy: keystone: ks2_gbe_serdes_firmwares[] can be static Message-ID: <20151019204626.GA42156@athens> References: <201510200459.7i1D4X2p%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1445281040-14742-2-git-send-email-w-kwok2@ti.com> 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-20151019_135059_036083_94149EEF X-CRM114-Status: GOOD ( 11.95 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux@arm.linux.org.uk, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, WingMan Kwok , linux-pci@vger.kernel.org, ssantosh@kernel.org, linux-kernel@vger.kernel.org, kishon@ti.com, m-karicheri2@ti.com, robh+dt@kernel.org, kbuild-all@01.org, galak@codeaurora.org, bhelgaas@google.com, linux-arm-kernel@lists.infradead.org, rogerq@ti.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fengguang Wu --- phy-keystone-serdes.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/phy/phy-keystone-serdes.c b/drivers/phy/phy-keystone-serdes.c index ee1cda7..e34201c 100644 --- a/drivers/phy/phy-keystone-serdes.c +++ b/drivers/phy/phy-keystone-serdes.c @@ -209,9 +209,9 @@ * Newest first. Search starts from the 0-th array entry until a firmware * file is found. */ -const char *ks2_gbe_serdes_firmwares[] = {"ks2_gbe_serdes.bin"}; -const char *ks2_xgbe_serdes_firmwares[] = {"ks2_xgbe_serdes.bin"}; -const char *ks2_pcie_serdes_firmwares[] = {"ks2_pcie_serdes.bin"}; +static const char *ks2_gbe_serdes_firmwares[] = {"ks2_gbe_serdes.bin"}; +static const char *ks2_xgbe_serdes_firmwares[] = {"ks2_xgbe_serdes.bin"}; +static const char *ks2_pcie_serdes_firmwares[] = {"ks2_pcie_serdes.bin"}; /* SERDES Link Rate Kbps */ enum KSERDES_LINK_RATE { @@ -933,7 +933,7 @@ done: return val; } -int kserdes_get_status(struct kserdes_config *sc) +static int kserdes_get_status(struct kserdes_config *sc) { unsigned long timeout; @@ -1568,7 +1568,7 @@ static void kserdes_att_boost_phy_patch(struct kserdes_config *sc) for_each_lane(kserdes_att_boost_phyb_patch, sc); } -int kserdes_sgmii_lanes_enable(struct kserdes_config *sc) +static int kserdes_sgmii_lanes_enable(struct kserdes_config *sc) { int ret, i; u32 val, lanes_enable = 0;