]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - drivers/media/platform/qcom/venus/hfi_helper.h
Merge tag 'media/v5.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[thirdparty/kernel/stable.git] / drivers / media / platform / qcom / venus / hfi_helper.h
index 04cc80b106d60b646e8e46f03436c9f124185e52..b70551e296b7ae6b11a68e7a98a7a3b780606251 100644 (file)
@@ -560,7 +560,7 @@ struct hfi_capability {
 
 struct hfi_capabilities {
        u32 num_capabilities;
-       struct hfi_capability *data;
+       struct hfi_capability data[];
 };
 
 #define HFI_DEBUG_MSG_LOW      0x01
@@ -717,7 +717,7 @@ struct hfi_profile_level {
 
 struct hfi_profile_level_supported {
        u32 profile_count;
-       struct hfi_profile_level *profile_level;
+       struct hfi_profile_level profile_level[];
 };
 
 struct hfi_quality_vs_speed {