summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2019-08-13 12:30:45 +0100
committerLaszlo Ersek <lersek@redhat.com>2019-08-21 18:03:48 +0200
commitaaebea27dab640b34e7383b75ee8182f652275ea (patch)
tree2ee2296f535af05c01e71bab7adf54b44851d0d7 /OvmfPkg
parent30781febe2106cc0d7186e70136120353cd67df2 (diff)
downloadedk2-aaebea27dab640b34e7383b75ee8182f652275ea.tar.gz
edk2-aaebea27dab640b34e7383b75ee8182f652275ea.tar.bz2
edk2-aaebea27dab640b34e7383b75ee8182f652275ea.zip
OvmfPkg/ResetSystemLib: Add missing dependency on PciLib
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>
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c3
-rw-r--r--OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf1
2 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c
index 27460cd100..98dd80e33c 100644
--- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c
+++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c
@@ -11,11 +11,10 @@
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/IoLib.h>
+#include <Library/PciLib.h>
#include <Library/TimerLib.h>
#include <OvmfPlatforms.h>
-#include <OvmfPlatforms.h>
-
VOID
AcpiPmControl (
UINTN SuspendType
diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
index 7c44f99a5c..2f24dac87f 100644
--- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
+++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
@@ -30,4 +30,5 @@
[LibraryClasses]
DebugLib
IoLib
+ PciLib
TimerLib