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:
jljusten 2008-11-24 00:37:12 +00:00
parent 6f716497de
commit d52be0e242
1 changed files with 2 additions and 2 deletions

View File

@ -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)) {