summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtConsoleDxe/Console.c
diff options
context:
space:
mode:
Diffstat (limited to 'Nt32Pkg/WinNtConsoleDxe/Console.c')
-rw-r--r--Nt32Pkg/WinNtConsoleDxe/Console.c5
1 files changed, 2 insertions, 3 deletions
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);