RedfishPkg: add Component Name protocols to RedfishConfigHandler driver

Currently there is no description for RedfishConfigHandler driver.
This leads to <null string> in the "DRIVER NAME" column of a `drivers`
command for example.

Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
Reviewed-by: Abner Chang <abner.chang@amd.com>
This commit is contained in:
Mike Maslenkin
2023-11-27 02:46:38 +03:00
committed by mergify[bot]
parent a87e8505b1
commit 8b59cb79fa
4 changed files with 230 additions and 3 deletions

View File

@ -24,7 +24,9 @@
//
// Protocol instances
//
extern EFI_DRIVER_BINDING_PROTOCOL gRedfishConfigDriverBinding;
extern EFI_DRIVER_BINDING_PROTOCOL gRedfishConfigDriverBinding;
extern EFI_COMPONENT_NAME_PROTOCOL gRedfishConfigHandlerComponentName;
extern EFI_COMPONENT_NAME2_PROTOCOL gRedfishConfigHandlerComponentName2;
extern REDFISH_CONFIG_DRIVER_DATA gRedfishConfigData;
extern EDKII_REDFISH_CREDENTIAL_PROTOCOL *gCredential;