]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/ResetSystemLib: Add missing dependency on PciLib
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 13 Aug 2019 11:30:45 +0000 (12:30 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 21 Aug 2019 16:03:48 +0000 (18:03 +0200)
Add missing dependency on PciLib
and remove extra includes of OvmfPlatforms.h.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190813113119.14804-2-anthony.perard@citrix.com>

OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c
OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf

index 27460cd100ab9cc3b31608861aee00bfd91355ff..98dd80e33c0527b909f44dad97805f436ca9b5fb 100644 (file)
 #include <Library/BaseLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/IoLib.h>\r
+#include <Library/PciLib.h>\r
 #include <Library/TimerLib.h>\r
 #include <OvmfPlatforms.h>\r
 \r
-#include <OvmfPlatforms.h>\r
-\r
 VOID\r
 AcpiPmControl (\r
   UINTN SuspendType\r
index 7c44f99a5cef38fc9a146da2c78a4a8153be828b..2f24dac87faf97d6c6ee3b8b1231cdaa4812c346 100644 (file)
@@ -30,4 +30,5 @@
 [LibraryClasses]\r
   DebugLib\r
   IoLib\r
+  PciLib\r
   TimerLib\r