summaryrefslogtreecommitdiffstats
path: root/PcAtChipsetPkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2015-12-23 02:23:54 +0000
committerniruiyu <niruiyu@Edk2>2015-12-23 02:23:54 +0000
commit689b78c890bec8f8345ed03b0ef48133d8450ebf (patch)
tree316cfa27d5d4cf8b049e48f8b193031f23a6cbdc /PcAtChipsetPkg
parent5b9a923529dfbbd3951e3a003238d8bfb4285dff (diff)
downloadedk2-689b78c890bec8f8345ed03b0ef48133d8450ebf.tar.gz
edk2-689b78c890bec8f8345ed03b0ef48133d8450ebf.tar.bz2
edk2-689b78c890bec8f8345ed03b0ef48133d8450ebf.zip
PcAtChipsetPkg/PcRtc: Fix GCC build failure.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19477 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r--PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
index 6f2a987f22..1cfb0cb198 100644
--- a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
+++ b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
@@ -14,7 +14,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include "PcRtc.h"
-PC_RTC_MODULE_GLOBALS mModuleGlobal = { 0 };
+PC_RTC_MODULE_GLOBALS mModuleGlobal;
EFI_HANDLE mHandle = NULL;
@@ -135,6 +135,7 @@ InitializePcRtc (
EFI_EVENT Event;
EfiInitializeLock (&mModuleGlobal.RtcLock, TPL_CALLBACK);
+ mModuleGlobal.CenturyRtcAddress = 0;
Status = PcRtcInit (&mModuleGlobal);
ASSERT_EFI_ERROR (Status);