From: Andrew Lunn Date: Tue, 03 Oct 2017 12:42:08 +0000 Subject: Re: [PATCH] net: dsa: mt7530: make functions mt7530_phy_write static Message-Id: <20171003124208.GF13548@lunn.ch> List-Id: References: <20171003104633.27151-1-colin.king@canonical.com> In-Reply-To: <20171003104633.27151-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Colin King Cc: Vivien Didelot , Florian Fainelli , netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org On Tue, Oct 03, 2017 at 11:46:33AM +0100, Colin King wrote: > From: Colin Ian King > > 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 Reviewed-by: Andrew Lunn Andrew