summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2018-06-25 08:56:04 +0800
committerStar Zeng <star.zeng@intel.com>2018-06-26 15:34:04 +0800
commit4e8ee0a08eb2750f89d43d8c53bd896edd2578be (patch)
tree15925360ff93244c47bf25fa2ce3acc96ea8bc62 /MdeModulePkg/Universal
parent14923c1a6bf9940b48feeaf47cb5d6c662b6528c (diff)
downloadedk2-4e8ee0a08eb2750f89d43d8c53bd896edd2578be.zip
edk2-4e8ee0a08eb2750f89d43d8c53bd896edd2578be.tar.gz
edk2-4e8ee0a08eb2750f89d43d8c53bd896edd2578be.tar.bz2
MdeModulePkg/CapsuleRuntimeDxe: Fix ECC issue
Add guard macro for new added header file. Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c2
-rw-r--r--MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c b/MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c
index 32579ce..d79d2fc 100644
--- a/MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c
+++ b/MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c
@@ -1,4 +1,4 @@
- /** @file
+/** @file
ARM implementation of architecture specific routines related to
PersistAcrossReset capsules
diff --git a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h b/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h
index 7a5df74..787c70c 100644
--- a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h
+++ b/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h
@@ -17,6 +17,9 @@
**/
+#ifndef _CAPSULE_SERVICE_H_
+#define _CAPSULE_SERVICE_H_
+
#include <Uefi.h>
#include <Protocol/Capsule.h>
@@ -69,3 +72,5 @@ VOID
CapsuleCacheWriteBack (
IN EFI_PHYSICAL_ADDRESS ScatterGatherList
);
+
+#endif