net: phy: marvell: make some functions static

functions m88e1510_get_temp_critical, m88e1510_set_temp_critical and
m88e1510_get_temp_alarm can be made static as they not need to be
in global scope.

Cleans up sparse warnings:
 "symbol 'm88e1510_get_temp_alarm' was not declared. Should it be static?"
 "symbol 'm88e1510_get_temp_critical' was not declared. Should it be
  static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
此提交包含在:
Colin Ian King
2017-06-02 15:13:34 +01:00
提交者 David S. Miller
父節點 a5eb62f3cb
當前提交 f0a4581605

查看文件

@@ -1706,7 +1706,7 @@ error:
return ret;
}
int m88e1510_get_temp_critical(struct phy_device *phydev, long *temp)
static int m88e1510_get_temp_critical(struct phy_device *phydev, long *temp)
{
int oldpage;
int ret;
@@ -1737,7 +1737,7 @@ error:
return ret;
}
int m88e1510_set_temp_critical(struct phy_device *phydev, long temp)
static int m88e1510_set_temp_critical(struct phy_device *phydev, long temp)
{
int oldpage;
int ret;
@@ -1767,7 +1767,7 @@ error:
return ret;
}
int m88e1510_get_temp_alarm(struct phy_device *phydev, long *alarm)
static int m88e1510_get_temp_alarm(struct phy_device *phydev, long *alarm)
{
int oldpage;
int ret;