diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-30 02:33:34 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-30 02:33:34 +0000 |
commit | 9d64ff86b142d3cbe9bbb4a69286edc0c98859f0 (patch) | |
tree | 95eb47d6b7d3cfd8a30ece8895da0270c30f1fa9 /IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c | |
parent | 733f03aa9056f4de82621caf06f2c10908e7f662 (diff) | |
download | edk2-platforms-9d64ff86b142d3cbe9bbb4a69286edc0c98859f0.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@3998 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c')
-rw-r--r-- | IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c b/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c index d680810a10..e513b00f7c 100644 --- a/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c +++ b/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClass.c @@ -48,14 +48,13 @@ InitializeVgaClass( //
// Install driver model protocol(s).
//
- Status = EfiLibInstallAllDriverProtocols (
+ Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&gVgaClassDriverBinding,
ImageHandle,
&gVgaClassComponentName,
- NULL,
- NULL
+ &gVgaClassComponentName2
);
ASSERT_EFI_ERROR (Status);
|