summaryrefslogtreecommitdiff
path: root/OptionRomPkg/CirrusLogic5430Dxe
diff options
context:
space:
mode:
Diffstat (limited to 'OptionRomPkg/CirrusLogic5430Dxe')
-rw-r--r--OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c
index b3a0f7d00e..2f0eb5a813 100644
--- a/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c
+++ b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430.c
@@ -236,11 +236,11 @@ CirrusLogic5430ControllerDriverStart (
// Open PCI I/O Protocol
//
Status = gBS->OpenProtocol (
- Private->Handle,
+ Controller,
&gEfiPciIoProtocolGuid,
(VOID **) &Private->PciIo,
This->DriverBindingHandle,
- Private->Handle,
+ Controller,
EFI_OPEN_PROTOCOL_BY_DRIVER
);
if (EFI_ERROR (Status)) {