From 97cb4e6b7462049620e66aed294431f8d81d6fca Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Mon, 29 May 2023 16:41:52 +0800 Subject: [PATCH] uapi/rk-isp1-config.h: Fix UAPI compile-test Signed-off-by: Tao Huang Change-Id: I1bacf9575ded157a7c720472c24dfb32ff59c8e1 --- include/uapi/linux/rk-isp1-config.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/uapi/linux/rk-isp1-config.h b/include/uapi/linux/rk-isp1-config.h index 3deace8e093d..72b8755dd707 100644 --- a/include/uapi/linux/rk-isp1-config.h +++ b/include/uapi/linux/rk-isp1-config.h @@ -369,7 +369,7 @@ struct cifisp_awb_meas_config { unsigned char frames; unsigned char awb_ref_cr; unsigned char awb_ref_cb; - bool enable_ymax_cmp; + _Bool enable_ymax_cmp; } __attribute__ ((packed)); /** @@ -548,14 +548,14 @@ struct cifisp_dpf_nll { struct cifisp_dpf_rb_flt { enum cifisp_dpf_rb_filtersize fltsize; unsigned char spatial_coeff[CIFISP_DPF_MAX_SPATIAL_COEFFS]; - bool r_enable; - bool b_enable; + _Bool r_enable; + _Bool b_enable; } __attribute__ ((packed)); struct cifisp_dpf_g_flt { unsigned char spatial_coeff[CIFISP_DPF_MAX_SPATIAL_COEFFS]; - bool gr_enable; - bool gb_enable; + _Bool gr_enable; + _Bool gb_enable; } __attribute__ ((packed)); struct cifisp_dpf_gain {