summaryrefslogtreecommitdiff
path: root/Nt32Pkg/SnpNt32Dxe/SnpNt32.c
diff options
context:
space:
mode:
Diffstat (limited to 'Nt32Pkg/SnpNt32Dxe/SnpNt32.c')
-rw-r--r--Nt32Pkg/SnpNt32Dxe/SnpNt32.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/Nt32Pkg/SnpNt32Dxe/SnpNt32.c b/Nt32Pkg/SnpNt32Dxe/SnpNt32.c
index 6559d31..89cc20d 100644
--- a/Nt32Pkg/SnpNt32Dxe/SnpNt32.c
+++ b/Nt32Pkg/SnpNt32Dxe/SnpNt32.c
@@ -1018,15 +1018,14 @@ Returns:
// Install the Driver Protocols
//
- Status = EfiLibInstallAllDriverProtocols (
- ImageHandle,
- SystemTable,
- &gSnpNt32DriverBinding,
- ImageHandle,
- &gSnpNt32DriverComponentName,
- NULL,
- NULL
- );
+ Status = EfiLibInstallDriverBindingComponentName2 (
+ ImageHandle,
+ SystemTable,
+ &gSnpNt32DriverBinding,
+ ImageHandle,
+ &gSnpNt32DriverComponentName,
+ &gSnpNt32DriverComponentName2
+ );
if (EFI_ERROR (Status)) {
return Status;
}