diff options
Diffstat (limited to 'Nt32Pkg/SnpNt32Dxe/SnpNt32.c')
-rw-r--r-- | Nt32Pkg/SnpNt32Dxe/SnpNt32.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Nt32Pkg/SnpNt32Dxe/SnpNt32.c b/Nt32Pkg/SnpNt32Dxe/SnpNt32.c index 6559d316e7..89cc20deff 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;
}
|