]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
media: vidc: debug: fix build warnings
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Tue, 12 Jan 2016 13:27:58 +0000 (15:27 +0200)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 14 Jan 2016 10:28:37 +0000 (10:28 +0000)
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
drivers/media/platform/msm/vidc/msm_vidc_debug.c
drivers/media/platform/msm/vidc/msm_vidc_debug.h

index de82944a3f8368fdd46bca148fdf6ce8eb050544..8aa897d38092f33fac1f2e1a471b388d476355bb 100644 (file)
@@ -22,13 +22,13 @@ int vidc_fw_debug = 0x18;
 int vidc_fw_debug_mode = 1;
 int vidc_fw_low_power_mode = 1;
 int vidc_hw_rsp_timeout = 1000;
-int vidc_fw_coverage = 0;
-int vidc_vpe_csc_601_to_709 = 0;
-int vidc_dec_dcvs_mode = 1;
-int vidc_enc_dcvs_mode = 1;
-int vidc_sys_idle_indicator = 0;
+bool vidc_fw_coverage = 0;
+bool vidc_vpe_csc_601_to_709 = 0;
+bool vidc_dec_dcvs_mode = 1;
+bool vidc_enc_dcvs_mode = 1;
+bool vidc_sys_idle_indicator = 0;
 int vidc_firmware_unload_delay = 15000;
-int vidc_thermal_mitigation_disabled = 0;
+bool vidc_thermal_mitigation_disabled = 0;
 
 #define MAX_DBG_BUF_SIZE 4096
 
index e07bb20f1cc9020d629db72a1b0ad401166849a5..ba1b836ef1f43edca9fd1f066ce9ab8f33555377 100644 (file)
@@ -59,13 +59,13 @@ extern int vidc_fw_debug;
 extern int vidc_fw_debug_mode;
 extern int vidc_fw_low_power_mode;
 extern int vidc_hw_rsp_timeout;
-extern int vidc_fw_coverage;
-extern int vidc_vpe_csc_601_to_709;
-extern int vidc_dec_dcvs_mode;
-extern int vidc_enc_dcvs_mode;
-extern int vidc_sys_idle_indicator;
+extern bool vidc_fw_coverage;
+extern bool vidc_vpe_csc_601_to_709;
+extern bool vidc_dec_dcvs_mode;
+extern bool vidc_enc_dcvs_mode;
+extern bool vidc_sys_idle_indicator;
 extern int vidc_firmware_unload_delay;
-extern int vidc_thermal_mitigation_disabled;
+extern bool vidc_thermal_mitigation_disabled;
 
 #define VIDC_MSG_PRIO2STRING(__level) ({ \
        char *__str; \