From 5f56b0ff24fe9021567a9c490a05f016db57119d Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Fri, 8 Sep 2017 10:39:44 +0800 Subject: [PATCH] MdeModulePkg: Update PiDxeS3BootScriptLib Internal function name To avoid the function name conflict, update the internal function name to be the specific one. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao Reviewed-by: Star Zeng --- MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c b/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c index b865d4452f..8761d69eac 100644 --- a/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c +++ b/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c @@ -57,7 +57,7 @@ **/ EFI_STATUS -SmbusExecute ( +InternalSmbusExecute ( IN UINTN SmbusAddress, IN EFI_SMBUS_OPERATION Operation, IN OUT UINTN *Length, @@ -1053,7 +1053,7 @@ BootScriptExecuteSmbusExecute ( SmBusAddress = (UINTN)SmbusExecuteEntry.SmBusAddress; DataSize = (UINTN) SmbusExecuteEntry.DataSize; - return SmbusExecute ( + return InternalSmbusExecute ( SmBusAddress, (EFI_SMBUS_OPERATION) SmbusExecuteEntry.Operation, &DataSize,