media: camsys_marvin: fix compilation warning
authorHuang, Tao <huangtao@rock-chips.com>
Mon, 4 May 2015 12:46:20 +0000 (20:46 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 4 May 2015 12:46:20 +0000 (20:46 +0800)
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
drivers/media/video/rk_camsys/camsys_marvin.c

index 52a97622119dd7df5b8d316694aff8995997b4da..19d1bf200c522a9b2b084a3cb1d3231d9d0e9809 100755 (executable)
@@ -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!");
         }