]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/pcibus.c
Update to support to produce Component Name and & Component Name 2 protocol based...
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / pcibus.c
index 8f8905dc3f9ad957debd28461f8c0acbfa596c18..ebf817b96fd1f327c9064c3cccc8d200fcae298d 100644 (file)
@@ -76,14 +76,13 @@ Returns:
   //\r
   // Install driver model protocol(s).\r
   //\r
-  Status = EfiLibInstallAllDriverProtocols (\r
+  Status = EfiLibInstallDriverBindingComponentName2 (\r
              ImageHandle,\r
              SystemTable,\r
              &gPciBusDriverBinding,\r
              ImageHandle,\r
              &gPciBusComponentName,\r
-             NULL,\r
-             NULL\r
+             &gPciBusComponentName2\r
              );\r
   ASSERT_EFI_ERROR (Status);\r
 \r