diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-30 02:45:18 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-30 02:45:18 +0000 |
commit | 70da5bc2cfec8401be7c5cff435cba6119d471e4 (patch) | |
tree | 236b09576a5ab6bb0be6816e0cf541609b23bb16 /MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | |
parent | f527bce3d07ff80c7fff9684b2c7cdc02805c32e (diff) | |
download | edk2-platforms-70da5bc2cfec8401be7c5cff435cba6119d471e4.tar.xz |
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@4001 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c')
-rw-r--r-- | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c index 2ad32d2b08..12d0600489 100644 --- a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c +++ b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c @@ -109,14 +109,13 @@ InitializeScsiBus( //
// Install driver model protocol(s).
//
- Status = EfiLibInstallAllDriverProtocols (
+ Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&gSCSIBusDriverBinding,
ImageHandle,
&gScsiBusComponentName,
- NULL,
- NULL
+ &gScsiBusComponentName2
);
ASSERT_EFI_ERROR (Status);
|