]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccd7b388c8719e44d3520516bfad2a6687fd22f1
tree990b1cbfbc1ff593c7f8f8d5d2333bacf3fda95c
parent721c255d65f85767c6050df607fc2b7c11970b97
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