You need to sign in or sign up before continuing.
提交 dabc7904 编写于 作者: W Wei Yongjun 提交者: Herbert Xu

crypto: ccp - Fix non static symbol warning

Fixes the following sparse warning:

drivers/crypto/ccp/ccp-dev.c:62:14: warning:
 symbol 'ccp_increment_unit_ordinal' was not declared. Should it be static?
Signed-off-by: NWei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 b6ff2fdd
...@@ -59,7 +59,7 @@ static struct ccp_device *ccp_rr; ...@@ -59,7 +59,7 @@ static struct ccp_device *ccp_rr;
/* Ever-increasing value to produce unique unit numbers */ /* Ever-increasing value to produce unique unit numbers */
static atomic_t ccp_unit_ordinal; static atomic_t ccp_unit_ordinal;
unsigned int ccp_increment_unit_ordinal(void) static unsigned int ccp_increment_unit_ordinal(void)
{ {
return atomic_inc_return(&ccp_unit_ordinal); return atomic_inc_return(&ccp_unit_ordinal);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册