efi_driver: comment struct efi_driver_ops
PATCH 1/1 efi_driver: comment struct efi_driver_ops
Provide description for struct efi_driver_ops.
Signed-off-by Heinrich Schuchardt <[email protected]>
--- include/efi_driver.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)
include/efi_driver.h +12 -0
@@ -13,6 +13,18 @@#include <dm.h> #include <efi_loader.h> +/* +* Operations supported by an EFI driver with respect to the EFI uclass +* +* @protocol The GUID of the protocol which is consumed by the +* driver. This GUID is used by the EFI uclass in the +* supports() and start() methods of the +* EFI_DRIVER_BINDING_PROTOCOL. +* @child_protocol Protocol supported by the child handles generated by +* the EFI driver. +* @bind Function called by the EFI uclass to attach the +* driver to EFI driver to a handle. +*/ struct efi_driver_ops {const efi_guid_t *protocol;const efi_guid_t *child_protocol;
Signature · 1 line
2.15.1
PATCH 1/1 efi_driver: comment struct efi_driver_ops
Quoted 3 lines · Heinrich Schuchardt
Provide description for struct
efi_driver_ops.Signed-off-by Heinrich Schuchardt <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180214/02f05f75/attachment.sig>