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 <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
Wei Yongjun 2014-01-08 21:48:56 +08:00 • committed by Herbert Xu
commit fe70be5c88

View file

@ -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