public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: lkp@intel.com (kbuild test robot)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH] phy: keystone: ks2_gbe_serdes_firmwares[] can be static
Date: Tue, 20 Oct 2015 04:46:26 +0800	[thread overview]
Message-ID: <20151019204626.GA42156@athens> (raw)
In-Reply-To: <1445281040-14742-2-git-send-email-w-kwok2@ti.com>


Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 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;

  parent reply	other threads:[~2015-10-19 20:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19 18:57 [PATCH v2 0/2] Common SerDes driver for TI's Keystone Platforms WingMan Kwok
2015-10-19 18:57 ` [PATCH v2 1/2] phy: keystone: serdes driver for gbe 10gbe and pcie WingMan Kwok
2015-10-19 19:56   ` kbuild test robot
2015-10-19 20:46   ` kbuild test robot [this message]
2015-10-19 18:57 ` [PATCH v2 2/2] PCI: keystone: update to use generic keystone serdes driver WingMan Kwok

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151019204626.GA42156@athens \
    --to=lkp@intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox