]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/IsaAcpiDxe/PcatIsaAcpi.c
8254TimerDxe: DuetPkg => PcAtChipsetPkg
[mirror_edk2.git] / DuetPkg / IsaAcpiDxe / PcatIsaAcpi.c
index 674c6dfc00ae300d695daa1fde4b24bbd6ec2eac..a0f4cdfd40a0df99cc57d04552843ae072737709 100644 (file)
@@ -92,7 +92,7 @@ Returns:
   Status = gBS->OpenProtocol (\r
                   Controller,  \r
                   &gEfiPciIoProtocolGuid, \r
-                  &PciIo,\r
+                  (VOID**)&PciIo,\r
                   This->DriverBindingHandle,\r
                   Controller,\r
                   EFI_OPEN_PROTOCOL_BY_DRIVER\r
@@ -171,7 +171,7 @@ Returns:
   Status = gBS->OpenProtocol (\r
                   Controller,       \r
                   &gEfiPciIoProtocolGuid, \r
-                  &PciIo,\r
+                  (VOID**)&PciIo,\r
                   This->DriverBindingHandle,   \r
                   Controller,   \r
                   EFI_OPEN_PROTOCOL_BY_DRIVER \r
@@ -197,7 +197,7 @@ Returns:
   Status = gBS->AllocatePool (\r
                   EfiBootServicesData,\r
                   sizeof(PCAT_ISA_ACPI_DEV),\r
-                  &PcatIsaAcpiDev\r
+                  (VOID**)&PcatIsaAcpiDev\r
                   );\r
   if (EFI_ERROR (Status)) {\r
     goto Done;\r
@@ -284,7 +284,7 @@ PcatIsaAcpiDriverBindingStop (
   Status = gBS->OpenProtocol (\r
                   Controller, \r
                   &gEfiIsaAcpiProtocolGuid, \r
-                  &IsaAcpi,\r
+                  (VOID**)&IsaAcpi,\r
                   This->DriverBindingHandle,   \r
                   Controller,   \r
                   EFI_OPEN_PROTOCOL_GET_PROTOCOL\r