Re: [PATCH][next] lan743x: make functions lan743x_csr_read and lan743x_csr_read static

2018-03-12 Thread David Miller
From: Colin King Date: Sun, 11 Mar 2018 17:55:47 +0100 > From: Colin Ian King > > Functions lan743x_csr_read and lan743x_csr_read are local to the source > and do not need to be in global scope, so make them static. > > Cleans up sparse warning: > drivers/net/ethernet/microchip/lan743x_main.c:

[PATCH][next] lan743x: make functions lan743x_csr_read and lan743x_csr_read static

2018-03-11 Thread Colin King
From: Colin Ian King Functions lan743x_csr_read and lan743x_csr_read are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warning: drivers/net/ethernet/microchip/lan743x_main.c:56:5: warning: symbol lan743x_csr_read' was not declared. Should it be