From: 黄涛 Date: Mon, 14 Jan 2013 03:51:08 +0000 (+0800) Subject: rk30_camera: fix gcc warning X-Git-Tag: firefly_0821_release~7957^2~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0db5b3e04a6a6e8b18fe8258b20d9bb9824b6e72;p=firefly-linux-kernel-4.4.55.git rk30_camera: fix gcc warning --- diff --git a/drivers/media/video/rk30_camera.c b/drivers/media/video/rk30_camera.c index 909c7c396a92..d33b78e32766 100755 --- a/drivers/media/video/rk30_camera.c +++ b/drivers/media/video/rk30_camera.c @@ -1506,7 +1506,7 @@ static void rk30_camera_request_reserve_mem(void) { #ifdef CONFIG_VIDEO_RK29_WORK_IPP rk_camera_platform_data.meminfo.vbase = rk_camera_platform_data.meminfo_cif1.vbase = NULL; - #if defined(CONFIG_VIDEO_RKCIF_WORK_SIMUL_OFF) || ((RK_SUPPORT_CIF0 && RK_SUPPORT_CIF1) == false) + #if defined(CONFIG_VIDEO_RKCIF_WORK_SIMUL_OFF) || ((RK_SUPPORT_CIF0 && RK_SUPPORT_CIF1) == 0) rk_camera_platform_data.meminfo.name = "camera_ipp_mem"; rk_camera_platform_data.meminfo.start = board_mem_reserve_add("camera_ipp_mem",PMEM_CAMIPP_NECESSARY); rk_camera_platform_data.meminfo.size= PMEM_CAMIPP_NECESSARY;