diff options
Diffstat (limited to 'MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c')
-rw-r--r-- | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c index 1c32a0c6ef..bfd50bd59d 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c @@ -245,47 +245,43 @@ InitializeConSplitter( //
// Install driver model protocol(s).
//
- Status = EfiLibInstallAllDriverProtocols (
+ Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&gConSplitterConInDriverBinding,
ImageHandle,
&gConSplitterConInComponentName,
- NULL,
- NULL
+ &gConSplitterConInComponentName2
);
ASSERT_EFI_ERROR (Status);
- Status = EfiLibInstallAllDriverProtocols (
+ Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&gConSplitterSimplePointerDriverBinding,
NULL,
&gConSplitterSimplePointerComponentName,
- NULL,
- NULL
+ &gConSplitterSimplePointerComponentName2
);
ASSERT_EFI_ERROR (Status);
- Status = EfiLibInstallAllDriverProtocols (
+ Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&gConSplitterConOutDriverBinding,
NULL,
&gConSplitterConOutComponentName,
- NULL,
- NULL
+ &gConSplitterConOutComponentName2
);
ASSERT_EFI_ERROR (Status);
- Status = EfiLibInstallAllDriverProtocols (
+ Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&gConSplitterStdErrDriverBinding,
NULL,
&gConSplitterStdErrComponentName,
- NULL,
- NULL
+ &gConSplitterStdErrComponentName2
);
ASSERT_EFI_ERROR (Status);
|