Revision: 19479
http://sourceforge.net/p/edk2/code/19479
Author: hwu1225
Date: 2015-12-23 02:34:19 +0000 (Wed, 23 Dec 2015)
Log Message:
-----------
PcAtChipsetPkg/PcRtc: Fix GCC build failure.
(Sync patch r19477 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Hao A Wu <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/19477
Modified Paths:
--------------
branches/UDK2015/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
Modified:
branches/UDK2015/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
===================================================================
--- branches/UDK2015/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
2015-12-23 02:33:53 UTC (rev 19478)
+++ branches/UDK2015/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
2015-12-23 02:34:19 UTC (rev 19479)
@@ -14,7 +14,7 @@
#include "PcRtc.h"
-PC_RTC_MODULE_GLOBALS mModuleGlobal = { 0 };
+PC_RTC_MODULE_GLOBALS mModuleGlobal;
EFI_HANDLE mHandle = NULL;
@@ -135,6 +135,7 @@
EFI_EVENT Event;
EfiInitializeLock (&mModuleGlobal.RtcLock, TPL_CALLBACK);
+ mModuleGlobal.CenturyRtcAddress = 0;
Status = PcRtcInit (&mModuleGlobal);
ASSERT_EFI_ERROR (Status);
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits