X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FUhciDxe%2FUhci.h;h=3f2540faf7d1522c6f166eb19b50c609592f7dbe;hp=c37894d3a8c7680a99ebecb75621175753bb4e52;hb=f527bce3d07ff80c7fff9684b2c7cdc02805c32e;hpb=913cb9dc645d6db47d8c2a0be0369083b8bed25d diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h index c37894d3a8..3f2540faf7 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h +++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h @@ -25,19 +25,13 @@ Revision History #ifndef _UHCI_H #define _UHCI_H -// -// The package level header files this module uses -// + #include -// -// The protocols, PPI and GUID defintions for this module -// + #include #include #include -// -// The Library classes this module consumes -// + #include #include #include @@ -75,7 +69,7 @@ enum { // UHCI_TPL = TPL_NOTIFY, - USB_HC_DEV_SIGNATURE = EFI_SIGNATURE_32 ('u', 'h', 'c', 'i'), + USB_HC_DEV_SIGNATURE = EFI_SIGNATURE_32 ('u', 'h', 'c', 'i') }; #pragma pack(1) @@ -100,7 +94,7 @@ typedef struct { // or bulk transfer can reclaim the unused bandwidth. Some USB // device requires this bandwidth reclamation capability. // -typedef struct _USB_HC_DEV { +struct _USB_HC_DEV { UINT32 Signature; EFI_USB_HC_PROTOCOL UsbHc; EFI_USB2_HC_PROTOCOL Usb2Hc; @@ -132,9 +126,10 @@ typedef struct _USB_HC_DEV { USBHC_MEM_POOL *MemPool; EFI_UNICODE_STRING_TABLE *CtrlNameTable; VOID *FrameMapping; -} USB_HC_DEV; +}; -extern EFI_DRIVER_BINDING_PROTOCOL gUhciDriverBinding; -extern EFI_COMPONENT_NAME_PROTOCOL gUhciComponentName; +extern EFI_DRIVER_BINDING_PROTOCOL gUhciDriverBinding; +extern EFI_COMPONENT_NAME_PROTOCOL gUhciComponentName; +extern EFI_COMPONENT_NAME2_PROTOCOL gUhciComponentName2; #endif