]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: make some functions static
authorColin Ian King <colin.king@canonical.com>
Fri, 2 Jun 2017 14:13:34 +0000 (15:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Jun 2017 23:54:38 +0000 (19:54 -0400)
commitcac223050e9d738cde15f6ccd4ea52908a931429
tree9070fb7c0e95c49e590df29e88ed359dcbbc868d
parentfc921c2b219a9eda60d05623ebd835033db03e02
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>
drivers/net/phy/marvell.c