From: Hao Wu Date: Thu, 28 Jun 2018 01:32:32 +0000 (+0800) Subject: MdeModulePkg/Sd: Fix typo when adding model name string X-Git-Tag: edk2-stable201903~1461 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=e25a76785e44061a1b5e29f3228febacf6f50932 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 --- 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