]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit72de46556f8a291b2c72ea1fa22275ffef85e4f9
tree07663f331e709cbf8f90155b900f3b60daacdbd7
parent1847d3d0a4de609523a685d68458529caacacdcc
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