diff --git a/OvmfPkg/VirtioSerialDxe/VirtioSerial.c b/OvmfPkg/VirtioSerialDxe/VirtioSerial.c index bfb2b324ea..df545c080e 100644 --- a/OvmfPkg/VirtioSerialDxe/VirtioSerial.c +++ b/OvmfPkg/VirtioSerialDxe/VirtioSerial.c @@ -66,11 +66,11 @@ VirtioSerialTxControl ( IN UINT16 Value ) { - VIRTIO_SERIAL_CONTROL Control = { - .Id = Id, - .Event = Event, - .Value = Value, - }; + VIRTIO_SERIAL_CONTROL Control; + + Control.Id = Id; + Control.Event = Event; + Control.Value = Value; DEBUG (( DEBUG_INFO,