X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Nt32Pkg%2FWinNtConsoleDxe%2FConsole.c;fp=Nt32Pkg%2FWinNtConsoleDxe%2FConsole.c;h=bbec72e3aad8c4f9fd908db20e10edd8db7a3cbc;hb=f766bd800a9f154781ffbb035280d3a4e6c3978f;hp=37672dfce6b52f6c1bc042e83716663cbb534833;hpb=e1107a76ad3b4859b953e3bde0e8f2dd3520a610;p=mirror_edk2.git diff --git a/Nt32Pkg/WinNtConsoleDxe/Console.c b/Nt32Pkg/WinNtConsoleDxe/Console.c index 37672dfce6..bbec72e3aa 100644 --- a/Nt32Pkg/WinNtConsoleDxe/Console.c +++ b/Nt32Pkg/WinNtConsoleDxe/Console.c @@ -101,14 +101,13 @@ InitializeWinNtConsole( // // Install driver model protocol(s). // - Status = EfiLibInstallAllDriverProtocols ( + Status = EfiLibInstallDriverBindingComponentName2 ( ImageHandle, SystemTable, &gWinNtConsoleDriverBinding, ImageHandle, &gWinNtConsoleComponentName, - NULL, - NULL + &gWinNtConsoleComponentName2 ); ASSERT_EFI_ERROR (Status);