From 83a6cf345c32d27d58af490ea7c80056f2179713 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 17 Nov 2011 07:01:12 +0000 Subject: 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 --- MdePkg/Include/Protocol/SmbusHc.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'MdePkg/Include') diff --git a/MdePkg/Include/Protocol/SmbusHc.h b/MdePkg/Include/Protocol/SmbusHc.h index 9d11f56..ed20a47 100644 --- a/MdePkg/Include/Protocol/SmbusHc.h +++ b/MdePkg/Include/Protocol/SmbusHc.h @@ -2,7 +2,7 @@ The file provides basic SMBus host controller management and basic data transactions over the SMBus. - Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
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,10 +123,10 @@ typedef EFI_STATUS (EFIAPI *EFI_SMBUS_HC_EXECUTE_OPERATION)( IN CONST EFI_SMBUS_HC_PROTOCOL *This, - IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, - IN CONST EFI_SMBUS_DEVICE_COMMAND Command, - IN CONST EFI_SMBUS_OPERATION Operation, - IN CONST BOOLEAN PecCheck, + IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, + IN EFI_SMBUS_DEVICE_COMMAND Command, + IN EFI_SMBUS_OPERATION Operation, + IN BOOLEAN PecCheck, IN OUT UINTN *Length, IN OUT VOID *Buffer ); @@ -189,8 +189,8 @@ typedef EFI_STATUS (EFIAPI *EFI_SMBUS_HC_PROTOCOL_ARP_DEVICE)( IN CONST EFI_SMBUS_HC_PROTOCOL *This, - IN CONST BOOLEAN ArpAll, - IN CONST EFI_SMBUS_UDID *SmbusUdid, OPTIONAL + IN BOOLEAN ArpAll, + IN EFI_SMBUS_UDID *SmbusUdid, OPTIONAL IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL ); @@ -236,8 +236,8 @@ EFI_STATUS typedef EFI_STATUS (EFIAPI *EFI_SMBUS_NOTIFY_FUNCTION)( - IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, - IN CONST UINTN Data + IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, + IN UINTN Data ); @@ -270,9 +270,9 @@ typedef EFI_STATUS (EFIAPI *EFI_SMBUS_HC_PROTOCOL_NOTIFY)( IN CONST EFI_SMBUS_HC_PROTOCOL *This, - IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, - IN CONST UINTN Data, - IN CONST EFI_SMBUS_NOTIFY_FUNCTION NotifyFunction + IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, + IN UINTN Data, + IN EFI_SMBUS_NOTIFY_FUNCTION NotifyFunction ); -- cgit v1.1