[edk2-devel] [PATCH v4 2/6] OvmfPkg: avoid including AcpiPlatformLib twice

Corvin Köhne posted 6 patches 2 years, 7 months ago
[edk2-devel] [PATCH v4 2/6] OvmfPkg: avoid including AcpiPlatformLib twice
Posted by Corvin Köhne 2 years, 7 months ago
Signed-off-by: Corvin Köhne <corvink@FreeBSD.org>
Acked-by: Peter Grehan <grehan@freebsd.org>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
---
 OvmfPkg/Include/Library/AcpiPlatformLib.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/OvmfPkg/Include/Library/AcpiPlatformLib.h b/OvmfPkg/Include/Library/AcpiPlatformLib.h
index 78d5010e91d5..617265000315 100644
--- a/OvmfPkg/Include/Library/AcpiPlatformLib.h
+++ b/OvmfPkg/Include/Library/AcpiPlatformLib.h
@@ -4,6 +4,9 @@
   SPDX-License-Identifier: BSD-2-Clause-Patent
 **/
 
+#ifndef ACPI_PLATFORM_LIB_H_
+#define ACPI_PLATFORM_LIB_H_
+
 #include <Protocol/AcpiTable.h>
 
 /**
@@ -47,3 +50,5 @@ InstallAcpiTablesFromRsdp (
   IN EFI_ACPI_TABLE_PROTOCOL                       *AcpiProtocol,
   IN EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER  *Rsdp
   );
+
+#endif
-- 
2.41.0



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#106247): https://edk2.groups.io/g/devel/message/106247
Mute This Topic: https://groups.io/mt/99672099/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-