diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-12-12 13:03:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-13 15:04:40 -0500 |
commit | 3b3397e2031564db07022e99f04d4b9f3df6fced (patch) | |
tree | 02e53a5a0d3f0f9ba70c81acf7d1582881b3bec9 | |
parent | 94a5ef1b77da4674a6bc1d3de3051b758859d106 (diff) |
net: phy: meson-gxl: make function meson_gxl_read_status static
The function meson_gxl_read_status is local to the source and does
not need to be in global scope, so make it static.
Cleans up sparse warning:
symbol 'meson_gxl_read_status' was not declared. Should it be static?
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/phy/meson-gxl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/meson-gxl.c b/drivers/net/phy/meson-gxl.c index 700007dd4be5..842eb871a6e3 100644 --- a/drivers/net/phy/meson-gxl.c +++ b/drivers/net/phy/meson-gxl.c @@ -67,7 +67,7 @@ static int meson_gxl_config_init(struct phy_device *phydev) * When this failure happens, the first retry is usually successful but, * in some cases, it may take up to 6 retries to get a decent result */ -int meson_gxl_read_status(struct phy_device *phydev) +static int meson_gxl_read_status(struct phy_device *phydev) { int ret, wol, lpa, exp; |