summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-01-08 21:48:56 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-01-15 11:33:41 +0800
commitfe70be5c8885d07a5c12f3ad97e6f226b0e8cae3 (patch)
treedab9b2e5e6c2d0a31241050ac3c434dcd3f40bbe /drivers/crypto
parentdb34cf9122319d6fed59bd3ba26fa099a8ece432 (diff)
downloadlinux-fe70be5c8885d07a5c12f3ad97e6f226b0e8cae3.tar.bz2
crypto: mxs - Fix sparse non static symbol warning
Fixes the following sparse warning: drivers/crypto/mxs-dcp.c:103:1: warning: symbol 'global_mutex' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/mxs-dcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/mxs-dcp.c b/drivers/crypto/mxs-dcp.c
index d41917c555d5..a6db7fa6f891 100644
--- a/drivers/crypto/mxs-dcp.c
+++ b/drivers/crypto/mxs-dcp.c
@@ -100,7 +100,7 @@ struct dcp_sha_req_ctx {
* design of Linux Crypto API.
*/
static struct dcp *global_sdcp;
-DEFINE_MUTEX(global_mutex);
+static DEFINE_MUTEX(global_mutex);
/* DCP register layout. */
#define MXS_DCP_CTRL 0x00