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: 7439741 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B47E9BEEA4 for ; Mon, 19 Oct 2015 20:50:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E233B206EF for ; Mon, 19 Oct 2015 20:50:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0336A206E8 for ; Mon, 19 Oct 2015 20:50:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753536AbbJSUu1 (ORCPT ); Mon, 19 Oct 2015 16:50:27 -0400 Received: from mga01.intel.com ([192.55.52.88]:24658 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752870AbbJSUuX (ORCPT ); Mon, 19 Oct 2015 16:50:23 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.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 Cc: kbuild-all@01.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, kishon@ti.com, rogerq@ti.com, m-karicheri2@ti.com, bhelgaas@google.com, ssantosh@kernel.org, linux@arm.linux.org.uk, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, 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 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;