Skip to content

Commit

Permalink
crypto: mxs - Fix sparse non static symbol warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Herbert Xu committed Jan 15, 2014
1 parent db34cf9 commit fe70be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/mxs-dcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe70be5

Please sign in to comment.