From 9920ae74af5a38672ddde0a997a7ec0960c96275 Mon Sep 17 00:00:00 2001 From: eric_tian Date: Mon, 28 Jul 2008 02:43:46 +0000 Subject: modify coding style to pass ecc tool git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5575 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h | 13 +++++++++++++ MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h | 10 ---------- 2 files changed, 13 insertions(+), 10 deletions(-) (limited to 'MdeModulePkg/Bus/Usb') diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h index 4bee1836f9..dc6d215947 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h @@ -257,6 +257,19 @@ struct _USB_BUS { }; +// +// USB Hub Api +// +struct _USB_HUB_API{ + USB_HUB_INIT Init; + USB_HUB_GET_PORT_STATUS GetPortStatus; + USB_HUB_CLEAR_PORT_CHANGE ClearPortChange; + USB_HUB_SET_PORT_FEATURE SetPortFeature; + USB_HUB_CLEAR_PORT_FEATURE ClearPortFeature; + USB_HUB_RESET_PORT ResetPort; + USB_HUB_RELEASE Release; +}; + #define USB_US_LAND_ID 0x0409 #define DEVICE_PATH_LIST_ITEM_SIGNATURE EFI_SIGNATURE_32('d','p','l','i') diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h index 1b36a6d853..a528e43a23 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h @@ -91,16 +91,6 @@ EFI_STATUS IN USB_INTERFACE *UsbIf ); -struct _USB_HUB_API{ - USB_HUB_INIT Init; - USB_HUB_GET_PORT_STATUS GetPortStatus; - USB_HUB_CLEAR_PORT_CHANGE ClearPortChange; - USB_HUB_SET_PORT_FEATURE SetPortFeature; - USB_HUB_CLEAR_PORT_FEATURE ClearPortFeature; - USB_HUB_RESET_PORT ResetPort; - USB_HUB_RELEASE Release; -}; - /** Return the endpoint descriptor in this interface. -- cgit v1.2.3