]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Init.c
Changed ID into Id.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / UndiRuntimeDxe / Init.c
index 6f88a90f4e56e1054103aea6ea746a217070cb2c..42dd5fd21f7676a9e1b2f6cd8ca5338207916d9c 100644 (file)
@@ -65,7 +65,7 @@ UndiNotifyVirtual (
     // UNDI32DeviceList is an array of pointers\r
     //\r
     for (Index = 0; Index < pxe_31->IFcnt; Index++) {\r
-      UNDI32DeviceList[Index]->NIIProtocol_31.ID = (UINT64) (UINTN) Pxe31Pointer;\r
+      UNDI32DeviceList[Index]->NIIProtocol_31.Id = (UINT64) (UINTN) Pxe31Pointer;\r
       EfiConvertPointer (\r
         EFI_OPTIONAL_PTR,\r
         (VOID **) &(UNDI32DeviceList[Index])\r
@@ -346,7 +346,7 @@ UndiDriverStart (
     PxeStructInit (pxe_31);\r
   }\r
 \r
-  UNDI32Device->NIIProtocol_31.ID = (UINT64) (UINTN) (pxe_31);\r
+  UNDI32Device->NIIProtocol_31.Id = (UINT64) (UINTN) (pxe_31);\r
 \r
   Status = PciIoFncs->Attributes (\r
                         PciIoFncs,\r