Skip to contentSkip to conversation

efi_driver: comment struct efi_driver_ops

PATCH New Heinrich Schuchardt 2 participants 2 messages Feb 12, 2018 – Feb 14, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 efi_driver: comment struct efi_driver_ops

Provide description for struct efi_driver_ops.

---
 include/efi_driver.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)
include/efi_driver.h +12 -0
index 2bbe26c6e31..010e55a4739 100644
@@ -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
#1 lore raw

PATCH 1/1 efi_driver: comment struct efi_driver_ops

Quoted 3 lines · Heinrich Schuchardt

Provide description for struct efi_driver_ops.

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>