Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe70be5c authored by Wei Yongjun's avatar Wei Yongjun Committed by Herbert Xu
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent db34cf91
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -100,7 +100,7 @@ struct dcp_sha_req_ctx {
 * design of Linux Crypto API.
 * design of Linux Crypto API.
 */
 */
static struct dcp *global_sdcp;
static struct dcp *global_sdcp;
DEFINE_MUTEX(global_mutex);
static DEFINE_MUTEX(global_mutex);


/* DCP register layout. */
/* DCP register layout. */
#define MXS_DCP_CTRL				0x00
#define MXS_DCP_CTRL				0x00