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);