summaryrefslogtreecommitdiff
path: root/Nt32Pkg/SnpNt32Dxe/SnpNt32.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-29 11:17:24 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-29 11:17:24 +0000
commit057d744eee56782c476d91593b4db47305339094 (patch)
tree2bd99127ca22f3a934411a3ca2f4042a70e64fb0 /Nt32Pkg/SnpNt32Dxe/SnpNt32.c
parentced44f7370c74b352130d225913dafe8056abca2 (diff)
downloadedk2-057d744eee56782c476d91593b4db47305339094.zip
edk2-057d744eee56782c476d91593b4db47305339094.tar.gz
edk2-057d744eee56782c476d91593b4db47305339094.tar.bz2
Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3987 6f19259b-4bc3-4df7-8a09-765794883524
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;
}