diff options
author | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2020-04-29 20:17:50 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-04-30 08:11:42 +0000 |
commit | 2a7a1223d0c6f6ec10076584f92d40abbf6020d1 (patch) | |
tree | 010636d0c4c243a81fa378623adb695b44305cc0 /EmbeddedPkg/Universal | |
parent | 13406bdeb5c5bea7f5cee6b3c0dfaff253579710 (diff) | |
download | edk2-2a7a1223d0c6f6ec10076584f92d40abbf6020d1.tar.gz |
EmbeddedPkg: rename gEfiMmcHostProtocolGuid to gEmbeddedMmcHostProtocolGuid
In EDK2, identifiers carrying the EFI prefix are reserved for ones
that are defined in the UEFI or PI specifications.
Since the MMC host protocol defined in EmbeddedPkg is not the one that
the UEFI spec defines, and given the confusion around this, let's rename
it to from gEfiMmcHostProtocolGuid to gEmbeddedMmcHostProtocolGuid.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'EmbeddedPkg/Universal')
-rw-r--r-- | EmbeddedPkg/Universal/MmcDxe/Mmc.c | 10 | ||||
-rw-r--r-- | EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/EmbeddedPkg/Universal/MmcDxe/Mmc.c b/EmbeddedPkg/Universal/MmcDxe/Mmc.c index c6170880de..d33f7f0a49 100644 --- a/EmbeddedPkg/Universal/MmcDxe/Mmc.c +++ b/EmbeddedPkg/Universal/MmcDxe/Mmc.c @@ -216,7 +216,7 @@ MmcDriverBindingSupported ( //
Status = gBS->OpenProtocol (
Controller,
- &gEfiMmcHostProtocolGuid,
+ &gEmbeddedMmcHostProtocolGuid,
(VOID **) &MmcHost,
This->DriverBindingHandle,
Controller,
@@ -234,7 +234,7 @@ MmcDriverBindingSupported ( //
gBS->CloseProtocol (
Controller,
- &gEfiMmcHostProtocolGuid,
+ &gEmbeddedMmcHostProtocolGuid,
This->DriverBindingHandle,
Controller
);
@@ -275,7 +275,7 @@ MmcDriverBindingStart ( //
Status = gBS->OpenProtocol (
Controller,
- &gEfiMmcHostProtocolGuid,
+ &gEmbeddedMmcHostProtocolGuid,
(VOID **) &MmcHost,
This->DriverBindingHandle,
Controller,
@@ -326,10 +326,10 @@ MmcDriverBindingStop ( MmcHostInstance = MMC_HOST_INSTANCE_FROM_LINK(CurrentLink);
ASSERT(MmcHostInstance != NULL);
- // Close gEfiMmcHostProtocolGuid
+ // Close gEmbeddedMmcHostProtocolGuid
Status = gBS->CloseProtocol (
Controller,
- &gEfiMmcHostProtocolGuid,
+ &gEmbeddedMmcHostProtocolGuid,
This->DriverBindingHandle,
Controller
);
diff --git a/EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf b/EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf index 67cdce6c5b..7a38bb4c72 100644 --- a/EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf +++ b/EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf @@ -38,7 +38,7 @@ gEfiDiskIoProtocolGuid
gEfiBlockIoProtocolGuid
gEfiDevicePathProtocolGuid
- gEfiMmcHostProtocolGuid
+ gEmbeddedMmcHostProtocolGuid
gEfiDriverDiagnostics2ProtocolGuid
[Depex]
|