]> git.baikalelectronics.ru Git - kernel.git/commit
davinci_cpdma: make cpdma_chan_split_pool static
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Tue, 15 Oct 2019 16:15:58 +0000 (17:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Oct 2019 03:56:14 +0000 (20:56 -0700)
commitdc64661ec6bdbe6bf7c07f4054e12647c363a626
treed358e18dc237e5bd89d4e731dff864e4a9f75f57
parentd9b0481fc5d636554ec35f1f9771b66981d3feb2
davinci_cpdma: make cpdma_chan_split_pool static

The cpdma_chan_split_pool() function is not used outside of
the driver, so make it static to avoid the following sparse
warning:

drivers/net/ethernet/ti/davinci_cpdma.c:725:5: warning: symbol 'cpdma_chan_split_pool' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c