Re: [PATCH] net: dsa: lan9303: make functions lan9303_mdio_phy_{read|write} static

2017-10-03 Thread David Miller
From: Colin King Date: Tue, 3 Oct 2017 11:39:18 +0100 > From: Colin Ian King > > 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

Re: [PATCH] net: dsa: lan9303: make functions lan9303_mdio_phy_{read|write} static

2017-10-03 Thread Andrew Lunn
On Tue, Oct 03, 2017 at 11:39:18AM +0100, Colin King wrote: > From: Colin Ian King > > 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_wr

[PATCH] net: dsa: lan9303: make functions lan9303_mdio_phy_{read|write} static

2017-10-03 Thread Colin King
From: Colin Ian King 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'