From: Huang, Tao Date: Mon, 4 May 2015 12:46:20 +0000 (+0800) Subject: media: camsys_marvin: fix compilation warning X-Git-Tag: firefly_0821_release~4158^2~133 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2908af4243ef1a8588c96f44aa65961dba219e37;p=firefly-linux-kernel-4.4.55.git media: camsys_marvin: fix compilation warning Signed-off-by: Huang, Tao --- 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!"); }