Remove CONST prefix to follow PI Specification.

This was one incompatible updating, the module produced SMBUS HC protocol should be updated to remove CONST prefix accordingly.

Signed-off-by: vanjeff
Reviewed-by: lgao4



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12733 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2011-11-17 07:01:12 +00:00
parent e02c57b63b
commit 83a6cf345c
1 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@
The file provides basic SMBus host controller management The file provides basic SMBus host controller management
and basic data transactions over the SMBus. and basic data transactions over the SMBus.
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR> Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -123,10 +123,10 @@ typedef
EFI_STATUS EFI_STATUS
(EFIAPI *EFI_SMBUS_HC_EXECUTE_OPERATION)( (EFIAPI *EFI_SMBUS_HC_EXECUTE_OPERATION)(
IN CONST EFI_SMBUS_HC_PROTOCOL *This, IN CONST EFI_SMBUS_HC_PROTOCOL *This,
IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
IN CONST EFI_SMBUS_DEVICE_COMMAND Command, IN EFI_SMBUS_DEVICE_COMMAND Command,
IN CONST EFI_SMBUS_OPERATION Operation, IN EFI_SMBUS_OPERATION Operation,
IN CONST BOOLEAN PecCheck, IN BOOLEAN PecCheck,
IN OUT UINTN *Length, IN OUT UINTN *Length,
IN OUT VOID *Buffer IN OUT VOID *Buffer
); );
@ -189,8 +189,8 @@ typedef
EFI_STATUS EFI_STATUS
(EFIAPI *EFI_SMBUS_HC_PROTOCOL_ARP_DEVICE)( (EFIAPI *EFI_SMBUS_HC_PROTOCOL_ARP_DEVICE)(
IN CONST EFI_SMBUS_HC_PROTOCOL *This, IN CONST EFI_SMBUS_HC_PROTOCOL *This,
IN CONST BOOLEAN ArpAll, IN BOOLEAN ArpAll,
IN CONST EFI_SMBUS_UDID *SmbusUdid, OPTIONAL IN EFI_SMBUS_UDID *SmbusUdid, OPTIONAL
IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL
); );
@ -236,8 +236,8 @@ EFI_STATUS
typedef typedef
EFI_STATUS EFI_STATUS
(EFIAPI *EFI_SMBUS_NOTIFY_FUNCTION)( (EFIAPI *EFI_SMBUS_NOTIFY_FUNCTION)(
IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
IN CONST UINTN Data IN UINTN Data
); );
@ -270,9 +270,9 @@ typedef
EFI_STATUS EFI_STATUS
(EFIAPI *EFI_SMBUS_HC_PROTOCOL_NOTIFY)( (EFIAPI *EFI_SMBUS_HC_PROTOCOL_NOTIFY)(
IN CONST EFI_SMBUS_HC_PROTOCOL *This, IN CONST EFI_SMBUS_HC_PROTOCOL *This,
IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
IN CONST UINTN Data, IN UINTN Data,
IN CONST EFI_SMBUS_NOTIFY_FUNCTION NotifyFunction IN EFI_SMBUS_NOTIFY_FUNCTION NotifyFunction
); );