Revision: 19477
http://sourceforge.net/p/edk2/code/19477
Author: niruiyu
Date: 2015-12-23 02:23:54 +0000 (Wed, 23 Dec 2015)
Log Message:
-----------
PcAtChipsetPkg/PcRtc: Fix GCC build failure.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Hao A Wu <[email protected]>
Modified Paths:
--------------
trunk/edk2/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
Modified: trunk/edk2/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
===================================================================
--- trunk/edk2/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
2015-12-23 01:39:05 UTC (rev 19476)
+++ trunk/edk2/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
2015-12-23 02:23:54 UTC (rev 19477)
@@ -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