diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-31 11:11:59 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-31 11:11:59 +0000 |
commit | 6102636abc86d76eff84a933748f4f5a544f5744 (patch) | |
tree | 2b886f488d31ba02e506595d1cbc58a693648216 /ArmPkg | |
parent | ad33170dc0b76121de076447f1bdabe7b103e9b6 (diff) | |
download | edk2-6102636abc86d76eff84a933748f4f5a544f5744.zip edk2-6102636abc86d76eff84a933748f4f5a544f5744.tar.gz edk2-6102636abc86d76eff84a933748f4f5a544f5744.tar.bz2 |
EmbeddedPkg/MmcDxe: Fix protocols uninstallation in Stop() function
The EFI handle argument passed to disconnect the protocol was not correct.
A pointer to this handle was passed as argument instead to be only the
handle itself.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11464 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg')
-rw-r--r-- | ArmPkg/Universal/MmcDxe/Mmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Universal/MmcDxe/Mmc.c b/ArmPkg/Universal/MmcDxe/Mmc.c index 90d1172..9c67867 100644 --- a/ArmPkg/Universal/MmcDxe/Mmc.c +++ b/ArmPkg/Universal/MmcDxe/Mmc.c @@ -155,9 +155,9 @@ EFI_STATUS DestroyMmcHostInstance( // Uninstall Protocol Interfaces
Status = gBS->UninstallMultipleProtocolInterfaces(
- &MmcHostInstance->MmcHandle,
+ MmcHostInstance->MmcHandle,
&gEfiBlockIoProtocolGuid,&(MmcHostInstance->BlockIo),
- &gEfiDevicePathProtocolGuid,&(MmcHostInstance->DevicePath),
+ &gEfiDevicePathProtocolGuid,MmcHostInstance->DevicePath,
NULL
);
ASSERT_EFI_ERROR (Status);
|