]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/AtapiPassThruDxe/AtapiPassThru.c
Update to support to produce Component Name and & Component Name 2 protocol based...
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / AtapiPassThruDxe / AtapiPassThru.c
index b6dceeb83a91d8890cf4ed5bf63cac2abb947402..fc0b8efbbc35ebbea872b7186ea89aa81847fbb6 100644 (file)
@@ -2393,14 +2393,13 @@ InitializeAtapiPassThru(
   //\r
   // Install driver model protocol(s).\r
   //\r
-  Status = EfiLibInstallAllDriverProtocols (\r
+  Status = EfiLibInstallDriverBindingComponentName2 (\r
              ImageHandle,\r
              SystemTable,\r
              &gAtapiScsiPassThruDriverBinding,\r
              ImageHandle,\r
              &gAtapiScsiPassThruComponentName,\r
-             NULL,\r
-             NULL\r
+             &gAtapiScsiPassThruComponentName2\r
              );\r
   ASSERT_EFI_ERROR (Status);\r
 \r