From e25a76785e44061a1b5e29f3228febacf6f50932 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Thu, 28 Jun 2018 09:32:32 +0800 Subject: [PATCH] MdeModulePkg/Sd: Fix typo when adding model name string REF:https://bugzilla.tianocore.org/show_bug.cgi?id=952 Cc: Anbazhagan Baraneedharan Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu Reviewed-by: Star Zeng --- MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c | 2 +- MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c b/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c index 2ed4d2e781..34e398dc42 100644 --- a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c +++ b/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c @@ -627,7 +627,7 @@ DiscoverEmmcDevice ( ); AddUnicodeString2 ( "en", - gEmmcDxeComponentName.SupportedLanguages, + gEmmcDxeComponentName2.SupportedLanguages, &Device->ControllerNameTable, Device->ModelName, FALSE diff --git a/MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c b/MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c index fc060fdb34..b3b1af906c 100644 --- a/MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c +++ b/MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c @@ -4,7 +4,7 @@ It produces BlockIo and BlockIo2 protocols to allow upper layer access the SD memory card device. - Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.
+ Copyright (c) 2015 - 2018, 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 @@ -373,7 +373,7 @@ DiscoverSdDevice ( ); AddUnicodeString2 ( "en", - gSdDxeComponentName.SupportedLanguages, + gSdDxeComponentName2.SupportedLanguages, &Device->ControllerNameTable, Device->ModelName, FALSE