Re: [PATCH] net: stmmac: make some functions static

2017-06-23 Thread David Miller
From: Colin King Date: Thu, 22 Jun 2017 17:17:29 +0100 > From: Colin Ian King > > The functions dwmac4_dma_init_rx_chan, dwmac4_dma_init_tx_chan and > dwmac4_dma_init_channel do not need to be in global scope, so them > static. > > Cleans up sparse warnings: > "symbol 'dwmac4_dma_init_rx_chan'

[PATCH] net: stmmac: make some functions static

2017-06-22 Thread Colin King
From: Colin Ian King The functions dwmac4_dma_init_rx_chan, dwmac4_dma_init_tx_chan and dwmac4_dma_init_channel do not need to be in global scope, so them static. Cleans up sparse warnings: "symbol 'dwmac4_dma_init_rx_chan' was not declared. Should it be static?" "symbol 'dwmac4_dma_init_tx_chan