net: dsa: mt7530: make functions mt7530_phy_write static
authorColin Ian King <colin.king@canonical.com>
Tue, 3 Oct 2017 10:46:33 +0000 (11:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Oct 2017 17:20:12 +0000 (10:20 -0700)
commit360cc342c9037ed487adf07212000f69c0ffa14d
tree58cf1a93c6ac399bae0b53991c640abc7a2b945a
parent161ae6b04d5da0de518ea600d8fffe61208e243c
net: dsa: mt7530: make functions mt7530_phy_write static

The function mt7530_phy_write is local to the source and does not need to
be in global scope, so make it static.

Cleans up sparse warnings:
symbol 'mt7530_phy_write' 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/mt7530.c