On Wednesday, January 08, 2014 at 02:48:56 PM, Wei Yongjun wrote:
> From: Wei Yongjun <[email protected]>
> 
> 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]>
> ---
>  drivers/crypto/mxs-dcp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/crypto/mxs-dcp.c b/drivers/crypto/mxs-dcp.c
> index d41917c..a6db7fa 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

Thank you.

Acked-by: Marek Vasut <[email protected]>

Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to