Merge tag 'media/v4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[sfrench/cifs-2.6.git] / drivers / media / cec / cec-adap.c
index 84d1b67f850ce83b297a59a36e1c44391ac9780f..f8a808d45034e048f9b0bc2c764c51d95e22bdc9 100644 (file)
@@ -181,7 +181,10 @@ static void cec_queue_msg_fh(struct cec_fh *fh, const struct cec_msg *msg)
 {
        static const struct cec_event ev_lost_msgs = {
                .event = CEC_EVENT_LOST_MSGS,
-               .lost_msgs.lost_msgs = 1,
+               .flags = 0,
+               {
+                       .lost_msgs = { 1 },
+               },
        };
        struct cec_msg_entry *entry;