[media] cec-adap.c: work around gcc-4.4.4 anon union initializer bug
[linux-2.6-microblaze.git] / drivers / staging / media / cec / cec-adap.c
index 2cd656b..f184bf6 100644 (file)
@@ -137,8 +137,12 @@ static void cec_queue_event(struct cec_adapter *adap,
 static void cec_queue_msg_fh(struct cec_fh *fh, const struct cec_msg *msg)
 {
        static const struct cec_event ev_lost_msg = {
+               .ts = 0,
                .event = CEC_EVENT_LOST_MSGS,
-               .lost_msgs.lost_msgs = 1,
+               .flags = 0,
+               {
+                       .lost_msgs.lost_msgs = 1,
+               },
        };
        struct cec_msg_entry *entry;