diff options
author | Laszlo Ersek <lersek@redhat.com> | 2021-05-26 22:14:09 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-06-04 16:01:50 +0000 |
commit | 2a85d9b07ebf0e7c5fa12372a72da8bdaf452ec4 (patch) | |
tree | b23319a57ab2933fd50bb7205966aa597fd00de9 /OvmfPkg/AcpiPlatformDxe | |
parent | ae4aa4a346832715509764fb2c3ecc1b1cc10480 (diff) | |
download | edk2-2a85d9b07ebf0e7c5fa12372a72da8bdaf452ec4.tar.gz edk2-2a85d9b07ebf0e7c5fa12372a72da8bdaf452ec4.tar.bz2 edk2-2a85d9b07ebf0e7c5fa12372a72da8bdaf452ec4.zip |
OvmfPkg/AcpiPlatformDxe: fix header file warts
- Remove the leading underscores from the #include guard macro names;
clean up the names in general.
- Remove the useless "Include/" directory prefix from the public header
pathnames.
- Fix incorrect file-top comment.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210526201446.12554-7-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'OvmfPkg/AcpiPlatformDxe')
-rw-r--r-- | OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 6 | ||||
-rw-r--r-- | OvmfPkg/AcpiPlatformDxe/QemuLoader.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h index 9597e028e4..c8dee8ab7a 100644 --- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h +++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h @@ -1,13 +1,13 @@ /** @file
- Sample ACPI Platform Driver
+ OVMF ACPI Platform Driver
Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
-#ifndef _ACPI_PLATFORM_H_INCLUDED_
-#define _ACPI_PLATFORM_H_INCLUDED_
+#ifndef ACPI_PLATFORM_H_
+#define ACPI_PLATFORM_H_
#include <PiDxe.h>
diff --git a/OvmfPkg/AcpiPlatformDxe/QemuLoader.h b/OvmfPkg/AcpiPlatformDxe/QemuLoader.h index 70e0ebc33b..bb3978e900 100644 --- a/OvmfPkg/AcpiPlatformDxe/QemuLoader.h +++ b/OvmfPkg/AcpiPlatformDxe/QemuLoader.h @@ -7,10 +7,10 @@ **/
-#ifndef __QEMU_LOADER_H__
-#define __QEMU_LOADER_H__
+#ifndef QEMU_LOADER_H_
+#define QEMU_LOADER_H_
-#include <Include/Base.h>
+#include <Base.h>
#include <Library/QemuFwCfgLib.h>
//
|