From 2908af4243ef1a8588c96f44aa65961dba219e37 Mon Sep 17 00:00:00 2001 From: "Huang, Tao" Date: Mon, 4 May 2015 20:46:20 +0800 Subject: [PATCH] media: camsys_marvin: fix compilation warning Signed-off-by: Huang, Tao --- drivers/media/video/rk_camsys/camsys_marvin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/video/rk_camsys/camsys_marvin.c b/drivers/media/video/rk_camsys/camsys_marvin.c index 52a97622119d..19d1bf200c52 100755 --- a/drivers/media/video/rk_camsys/camsys_marvin.c +++ b/drivers/media/video/rk_camsys/camsys_marvin.c @@ -302,7 +302,7 @@ static int camsys_mrv_reset_cb(void *ptr,unsigned int on) if (camsys_dev->soc) { soc = (camsys_soc_priv_t*)camsys_dev->soc; if (soc->soc_cfg) { - (soc->soc_cfg)(Isp_SoftRst,(void*)on); + (soc->soc_cfg)(Isp_SoftRst,(void*)(unsigned long)on); } else { camsys_err("camsys_dev->soc->soc_cfg is NULL!"); } -- 2.34.1