net: dsa: lan9303: make functions lan9303_mdio_phy_{read|write} static
authorColin Ian King <colin.king@canonical.com>
Tue, 3 Oct 2017 10:39:18 +0000 (11:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Oct 2017 17:20:12 +0000 (10:20 -0700)
commit161ae6b04d5da0de518ea600d8fffe61208e243c
tree60f84e4d72d0b45225bc94c75e8fa02b7d9bc7ee
parentda885b614ad32d65ca6a718e192e23aa0447da7e
net: dsa: lan9303: make functions lan9303_mdio_phy_{read|write} static

The functions lan9303_mdio_phy_write and lan9303_mdio_phy_read are local
to the source and do not need to be in global scope, so make them static.

Cleans up sparse warnings:
symbol 'lan9303_mdio_phy_write' was not declared. Should it be static?
symbol 'lan9303_mdio_phy_read' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303_mdio.c