Re: [PATCH] net: dsa: mt7530: make functions mt7530_phy_write static
From: Andrew Lunn
Date: Tue Oct 03 2017 - 08:42:16 EST
On Tue, Oct 03, 2017 at 11:46:33AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>