summaryrefslogtreecommitdiff
path: root/ArmPkg
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-03-31 11:11:59 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-03-31 11:11:59 +0000
commit6102636abc86d76eff84a933748f4f5a544f5744 (patch)
tree2b886f488d31ba02e506595d1cbc58a693648216 /ArmPkg
parentad33170dc0b76121de076447f1bdabe7b103e9b6 (diff)
downloadedk2-platforms-6102636abc86d76eff84a933748f4f5a544f5744.tar.xz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Universal/MmcDxe/Mmc.c b/ArmPkg/Universal/MmcDxe/Mmc.c
index 90d1172ffa..9c67867aa3 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);