mirror of https://github.com/acidanthera/audk.git
Use the Controller handle to open the protocol, rather than the
NULL handle which was stored in Private->Handle. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6689 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
6f716497de
commit
d52be0e242
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue