summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-23 06:30:54 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-23 06:30:54 +0000
commit3cb9e605be862a7d3435dac071f7418847206cae (patch)
treedf4c4f51d73acf77f846b6c96550bf3a8d0c94d2
parenta7022cec4e8b46d7f2bfc1ee84333cf6e71e633b (diff)
downloadedk2-platforms-3cb9e605be862a7d3435dac071f7418847206cae.tar.xz
modify coding style to pass ecc tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5552 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h
index 1b36a6d853..110fccb858 100644
--- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h
+++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.h
@@ -91,7 +91,7 @@ EFI_STATUS
IN USB_INTERFACE *UsbIf
);
-struct _USB_HUB_API{
+typedef struct _USB_HUB_API{
USB_HUB_INIT Init;
USB_HUB_GET_PORT_STATUS GetPortStatus;
USB_HUB_CLEAR_PORT_CHANGE ClearPortChange;
@@ -99,7 +99,7 @@ struct _USB_HUB_API{
USB_HUB_CLEAR_PORT_FEATURE ClearPortFeature;
USB_HUB_RESET_PORT ResetPort;
USB_HUB_RELEASE Release;
-};
+}USB_HUB_API;
/**
Return the endpoint descriptor in this interface.