summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2018-06-28 09:32:32 +0800
committerHao Wu <hao.a.wu@intel.com>2018-06-29 16:52:52 +0800
commite25a76785e44061a1b5e29f3228febacf6f50932 (patch)
tree98dde317ffffbb24e1fe07c23015b024167b90ab
parentd374f2cdf9ac9af719ebf1fc522620beff487cbb (diff)
downloadedk2-e25a76785e44061a1b5e29f3228febacf6f50932.tar.gz
edk2-e25a76785e44061a1b5e29f3228febacf6f50932.tar.bz2
edk2-e25a76785e44061a1b5e29f3228febacf6f50932.zip
MdeModulePkg/Sd: Fix typo when adding model name string
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=952 Cc: Anbazhagan Baraneedharan <anbazhagan@hp.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
-rw-r--r--MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c2
-rw-r--r--MdeModulePkg/Bus/Sd/SdDxe/SdDxe.c4
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.<BR>
+ Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
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