Commit 0850d7f7bf3b2ccf41cdcf45b174f683ba64827f

Authored by Heinrich Schuchardt
Committed by Tom Rini
1 parent 80ee4fc504

efi_driver: comment struct efi_driver_ops

Provide description for struct efi_driver_ops.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Showing 1 changed file with 12 additions and 0 deletions Side-by-side Diff

include/efi_driver.h
... ... @@ -13,6 +13,18 @@
13 13 #include <dm.h>
14 14 #include <efi_loader.h>
15 15  
  16 +/*
  17 + * Operations supported by an EFI driver with respect to the EFI uclass
  18 + *
  19 + * @protocol The GUID of the protocol which is consumed by the
  20 + * driver. This GUID is used by the EFI uclass in the
  21 + * supports() and start() methods of the
  22 + * EFI_DRIVER_BINDING_PROTOCOL.
  23 + * @child_protocol Protocol supported by the child handles generated by
  24 + * the EFI driver.
  25 + * @bind Function called by the EFI uclass to attach the
  26 + * driver to EFI driver to a handle.
  27 + */
16 28 struct efi_driver_ops {
17 29 const efi_guid_t *protocol;
18 30 const efi_guid_t *child_protocol;