diff --git a/drivers/fpga/dfl.h b/drivers/fpga/dfl.h index 4a9a33cd9979..74784d3cfe7c 100644 --- a/drivers/fpga/dfl.h +++ b/drivers/fpga/dfl.h @@ -235,7 +235,7 @@ struct dfl_feature_platform_data { int open_count; void *private; int num; - struct dfl_feature features[0]; + struct dfl_feature features[]; }; static inline