]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: make some functions static
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Jun 2017 16:17:29 +0000 (17:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jun 2017 17:58:39 +0000 (13:58 -0400)
commit8d73c4e22e0ad7b3b5bc9d9542f26fa627e7c03c
tree07663f331e709cbf8f90155b900f3b60daacdbd7
parent03e28e2ffc588efa14742916d39dc673ec6f0444
net: stmmac: make some functions static

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' was not declared. Should it be static?"
"symbol 'dwmac4_dma_init_channel' was not declared. Should it be static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c