summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/mmp/hw/mmp_ctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/mmp/hw/mmp_ctrl.h')
-rw-r--r--drivers/video/fbdev/mmp/hw/mmp_ctrl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/mmp/hw/mmp_ctrl.h b/drivers/video/fbdev/mmp/hw/mmp_ctrl.h
index 167585a889d3..719b99a9bc77 100644
--- a/drivers/video/fbdev/mmp/hw/mmp_ctrl.h
+++ b/drivers/video/fbdev/mmp/hw/mmp_ctrl.h
@@ -1406,7 +1406,7 @@ struct mmphw_ctrl {
/*pathes*/
int path_num;
- struct mmphw_path_plat path_plats[];
+ struct mmphw_path_plat path_plats[] __counted_by(path_num);
};
static inline int overlay_is_vid(struct mmp_overlay *overlay)