From 19f97f7e860b65f638777845b65b458659c7eb66 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Sun, 30 Sep 2007 03:02:26 +0000 Subject: 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@4004 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/DebugPortDxe/DebugPort.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'MdeModulePkg/Universal/DebugPortDxe/DebugPort.c') diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c index 92c9d61c36..86e0b851ed 100644 --- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c +++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c @@ -165,14 +165,13 @@ Returns: // // Install driver model protocol(s). // - Status = EfiLibInstallAllDriverProtocols ( + Status = EfiLibInstallDriverBindingComponentName2 ( ImageHandle, SystemTable, &gDebugPortDriverBinding, ImageHandle, &gDebugPortComponentName, - NULL, - NULL + &gDebugPortComponentName2 ); ASSERT_EFI_ERROR (Status); // -- cgit v1.2.3