diff options
Diffstat (limited to '')
-rw-r--r-- | include/media/v4l2-event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-event.h b/include/media/v4l2-event.h index 4ffa914ade..3a0e258836 100644 --- a/include/media/v4l2-event.h +++ b/include/media/v4l2-event.h @@ -78,7 +78,7 @@ struct v4l2_subscribed_event { unsigned int elems; unsigned int first; unsigned int in_use; - struct v4l2_kevent events[]; + struct v4l2_kevent events[] __counted_by(elems); }; /** |