crypto: ccp - Make function ccp_get_dma_chan_attr static
authorColin Ian King <colin.king@canonical.com>
Tue, 6 Feb 2018 23:20:01 +0000 (23:20 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Feb 2018 15:26:56 +0000 (23:26 +0800)
commit404a36a73c3f7108d2c628833fc6ec8db1959835
tree990b1cbfbc1ff593c7f8f8d5d2333bacf3fda95c
parent1efb892b6c3c716cdcdb4d1e79bebf4c545158d4
crypto: ccp - Make function ccp_get_dma_chan_attr static

Function ccp_get_dma_chan_attr is local to the source and does not
need to be in global scope, so make it static.

Cleans up sparse warning:
drivers/crypto/ccp/ccp-dmaengine.c:41:14: warning: symbol
'ccp_get_dma_chan_attr' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dmaengine.c