diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-12 03:00:09 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-16 12:20:18 +0300 |
commit | dabc7904a74c47ead9d40cc00d5e8b1946a0736c (patch) | |
tree | c59dc64b1c1979f64bc4649003bb3ddce31f2a15 /drivers/crypto/ccp | |
parent | b6ff2fdd429cffe83b576f2e1eed33a4b0f1e4fe (diff) | |
download | linux-dabc7904a74c47ead9d40cc00d5e8b1946a0736c.tar.xz |
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: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp')
-rw-r--r-- | drivers/crypto/ccp/ccp-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.c b/drivers/crypto/ccp/ccp-dev.c index 38a98d879f82..5d36eeff6d26 100644 --- a/drivers/crypto/ccp/ccp-dev.c +++ b/drivers/crypto/ccp/ccp-dev.c @@ -59,7 +59,7 @@ static struct ccp_device *ccp_rr; /* Ever-increasing value to produce unique unit numbers */ 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); } |