]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c
Vlv2TbltDevicePkg: ECP Cleanup.
[mirror_edk2.git] / Vlv2TbltDevicePkg / AcpiPlatform / AcpiPlatform.c
index 4a913eb723152b7fc89678a3758414fc251c1860..d575533319400a0dcedc2038444578453ed055dd 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-  Copyright (c) 2004  - 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2004  - 2018, Intel Corporation. All rights reserved.<BR>\r
 \r
 \r
   This program and the accompanying materials are licensed and made available under\r
@@ -35,7 +35,7 @@ Abstract:
 \r
 #include <PiDxe.h>\r
 #include <Protocol/TcgService.h>\r
-#include <Protocol/FirmwareVolume.h>\r
+#include <Protocol/FirmwareVolume2.h>\r
 #include "AcpiPlatform.h"\r
 #include "AcpiPlatformHooks.h"\r
 #include "AcpiPlatformHooksLib.h"\r
@@ -785,7 +785,7 @@ AcpiPlatformEntryPoint (
   EFI_STATUS                    Status;\r
   EFI_STATUS                    AcpiStatus;\r
   EFI_ACPI_SUPPORT_PROTOCOL     *AcpiSupport;\r
-  EFI_FIRMWARE_VOLUME_PROTOCOL  *FwVol;\r
+  EFI_FIRMWARE_VOLUME2_PROTOCOL  *FwVol;\r
   INTN                          Instance;\r
   EFI_ACPI_COMMON_HEADER        *CurrentTable;\r
   UINTN                         TableHandle;\r
@@ -856,7 +856,7 @@ AcpiPlatformEntryPoint (
   //\r
   // Locate the firmware volume protocol.\r
   //\r
-  Status = LocateSupportProtocol (&gEfiFirmwareVolumeProtocolGuid, (VOID **) &FwVol, 1);\r
+  Status = LocateSupportProtocol (&gEfiFirmwareVolume2ProtocolGuid, (VOID **) &FwVol, 1);\r
   ASSERT_EFI_ERROR (Status);\r
 \r
   //\r