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:
committed by
mergify[bot]
parent
a87e8505b1
commit
8b59cb79fa
@@ -601,11 +601,17 @@ RedfishConfigHandlerDriverEntryPoint (
|
||||
//
|
||||
// Install UEFI Driver Model protocol(s).
|
||||
//
|
||||
Status = EfiLibInstallDriverBinding (
|
||||
Status = EfiLibInstallAllDriverProtocols2 (
|
||||
ImageHandle,
|
||||
SystemTable,
|
||||
&gRedfishConfigDriverBinding,
|
||||
ImageHandle
|
||||
ImageHandle,
|
||||
&gRedfishConfigHandlerComponentName,
|
||||
&gRedfishConfigHandlerComponentName2,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
gBS->CloseEvent (gEndOfDxeEvent);
|
||||
|
Reference in New Issue
Block a user