diff --git a/include/linux/amlogic/media/amvecm/amvecm.h b/include/linux/amlogic/media/amvecm/amvecm.h index e55283843..dcb4cfc26 100644 --- a/include/linux/amlogic/media/amvecm/amvecm.h +++ b/include/linux/amlogic/media/amvecm/amvecm.h @@ -415,7 +415,10 @@ enum lut_type_e { struct hdr_tone_mapping_s { enum lut_type_e lut_type; unsigned int lutlength; - unsigned int *tm_lut; + union { + void *tm_lut; + long long tm_lut_len; + }; }; /* CMS ioctl data structure */