]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPort.c
1. Sync Tcp4 protocol definitions to match UEFI 2.1
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / VgaMiniPortDxe / VgaMiniPort.c
index 95d94dc59289131adba21a7bcfe0b61fa4570729..8a183f48417b3782debb93c1bf0030b3011a0c9d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file
 
 Copyright (c) 2006 Intel Corporation. All rights reserved
-All rights reserved. This program and the accompanying materials
+This program and the accompanying materials
 are licensed and made available under the terms and conditions of the BSD License
 which accompanies this distribution.  The full text of the license may be found at
 http://opensource.org/licenses/bsd-license.php
@@ -9,16 +9,6 @@ http://opensource.org/licenses/bsd-license.php
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 
-
-Module Name:
-
-  PciVgaMiniPort.c
-
-Abstract:
-
-
-Revision History
-
 **/
 
 #include "VgaMiniPort.h"
@@ -46,8 +36,6 @@ EFI_DRIVER_BINDING_PROTOCOL gPciVgaMiniPortDriverBinding = {
 //
 // Driver Entry Point
 //
-//@MT: EFI_DRIVER_ENTRY_POINT (PciVgaMiniPortDriverEntryPoint)
-
 EFI_STATUS
 EFIAPI
 PciVgaMiniPortDriverEntryPoint (
@@ -190,7 +178,7 @@ PciVgaMiniPortDriverBindingStart (
   Status = gBS->AllocatePool (
                   EfiBootServicesData,
                   sizeof (PCI_VGA_MINI_PORT_DEV),
-                  &PciVgaMiniPortPrivate
+                  (VOID **) &PciVgaMiniPortPrivate
                   );
   if (EFI_ERROR (Status)) {
     goto Done;