]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sun4i-ss - mark sun4i_hash() static
authorBaoyou Xie <baoyou.xie@linaro.org>
Sun, 18 Sep 2016 12:52:44 +0000 (20:52 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Sep 2016 10:32:48 +0000 (18:32 +0800)
commit6ddb0462e8ed3eb839a3ee3f8cf4030ebaf0d704
tree85b9c6af27dd1c74f892db86d997a94015d64c9a
parenta06da28b50b280a3972f6049118d96aaff2d5b62
crypto: sun4i-ss - mark sun4i_hash() static

We get 1 warning when building kernel with W=1:
drivers/crypto/sunxi-ss/sun4i-ss-hash.c:168:5: warning: no previous prototype for 'sun4i_hash' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
So this patch marks it 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sunxi-ss/sun4i-ss-hash.c