1
0
Fork 0
alistair23-linux/drivers/crypto/sunxi-ss
Baoyou Xie 8d46a5c872 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>
2016-09-22 18:32:48 +08:00
..
Makefile crypto: sunxi-ss - Add Allwinner Security System crypto accelerator 2015-07-20 15:54:08 +08:00
sun4i-ss-cipher.c crypto: sun4i-ss - fix a few signed warning 2016-08-16 17:16:54 +08:00
sun4i-ss-core.c crypto: sun4i-ss - fix indentation of two crypto alg 2016-08-16 17:17:02 +08:00
sun4i-ss-hash.c crypto: sun4i-ss - mark sun4i_hash() static 2016-09-22 18:32:48 +08:00
sun4i-ss.h crypto: sun4i-ss - Always use sun4i_tfm_ctx for storing pointer to dev ss 2016-08-16 17:17:00 +08:00