mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
5b9a923529
commit
689b78c890
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue