summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus
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
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')
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c12
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c12
2 files changed, 12 insertions, 12 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;
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
index beea8f32d6..a1b0cbd121 100644
--- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
+++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
@@ -2,7 +2,7 @@
The UHCI driver model and HC protocol routines.
-Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 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
@@ -123,8 +123,8 @@ ON_INVAILD_PARAMETER:
EFI_STATUS
EFIAPI
Uhci2GetState (
- 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
)
{
USB_HC_DEV *Uhc;
@@ -339,9 +339,9 @@ Uhci2GetCapability (
EFI_STATUS
EFIAPI
Uhci2GetRootHubPortStatus (
- 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
)
{
USB_HC_DEV *Uhc;