projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e92dce
)
media: camsys_marvin: fix compilation warning
author
Huang, Tao
<huangtao@rock-chips.com>
Mon, 4 May 2015 12:46:20 +0000
(20:46 +0800)
committer
Huang, 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
patch
|
blob
|
history
diff --git
a/drivers/media/video/rk_camsys/camsys_marvin.c
b/drivers/media/video/rk_camsys/camsys_marvin.c
index 52a97622119dd7df5b8d316694aff8995997b4da..19d1bf200c522a9b2b084a3cb1d3231d9d0e9809 100755
(executable)
--- 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!");
}