]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h
MdeModulePkg/UsbBusDxe: Add UsbControlTransfer() error check
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbBusDxe / UsbEnumer.h
index 1b36a6d853720bca6f4d41eb59dfd3a171b8d871..ef7d4409173f4735f0801bc00a401a68b10be96e 100644 (file)
@@ -2,8 +2,8 @@
 \r
     USB bus enumeration interface.\r
 \r
-Copyright (c) 2007, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -91,16 +91,6 @@ EFI_STATUS
   IN USB_INTERFACE        *UsbIf\r
   );\r
 \r
-struct _USB_HUB_API{\r
-  USB_HUB_INIT                Init;\r
-  USB_HUB_GET_PORT_STATUS     GetPortStatus;\r
-  USB_HUB_CLEAR_PORT_CHANGE   ClearPortChange;\r
-  USB_HUB_SET_PORT_FEATURE    SetPortFeature;\r
-  USB_HUB_CLEAR_PORT_FEATURE  ClearPortFeature;\r
-  USB_HUB_RESET_PORT          ResetPort;\r
-  USB_HUB_RELEASE             Release;\r
-};\r
-\r
 /**\r
   Return the endpoint descriptor in this interface.\r
 \r
@@ -161,7 +151,7 @@ UsbSelectConfig (
   @return None.\r
 \r
 **/\r
-VOID\r
+EFI_STATUS\r
 UsbRemoveConfig (\r
   IN USB_DEVICE           *Device\r
   );\r