summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
diff options
context:
space:
mode:
authorerictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-24 09:38:10 +0000
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-24 09:38:10 +0000
commitdb0f0d3c7945dbdc90d5f7ca1612565d7cebb4e3 (patch)
tree8fb68640dea55ae16c9106d0a7ed8f74e8e51e8d /MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
parent71f6080748fc17c6028758c8b8f8444159e4355d (diff)
downloadedk2-platforms-db0f0d3c7945dbdc90d5f7ca1612565d7cebb4e3.tar.xz
Remove CONST modifier to be spec compliance
Signed-off-by: erictian Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12194 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c')
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
index 852a15adcb..77aba643ab 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
@@ -10,7 +10,7 @@
This way avoids the control transfer on a shared port between EHCI and companion host
controller when UHCI gets attached earlier than EHCI and a USB 2.0 device inserts.
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -191,8 +191,8 @@ ON_EXIT:
EFI_STATUS
EFIAPI
EhcGetState (
- IN CONST EFI_USB2_HC_PROTOCOL *This,
- OUT EFI_USB_HC_STATE *State
+ IN EFI_USB2_HC_PROTOCOL *This,
+ OUT EFI_USB_HC_STATE *State
)
{
EFI_TPL OldTpl;
@@ -310,9 +310,9 @@ EhcSetState (
EFI_STATUS
EFIAPI
EhcGetRootHubPortStatus (
- IN CONST EFI_USB2_HC_PROTOCOL *This,
- IN CONST UINT8 PortNumber,
- OUT EFI_USB_PORT_STATUS *PortStatus
+ IN EFI_USB2_HC_PROTOCOL *This,
+ IN UINT8 PortNumber,
+ OUT EFI_USB_PORT_STATUS *PortStatus
)
{
USB2_HC_DEV *Ehc;