diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-18 07:30:19 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2017-12-21 15:41:47 -0500 |
commit | aa931b44ae3e32329b054e3cd8ba1a4f1aa9e0d8 (patch) | |
tree | 3f6f701035db83ef6d833944500b1dd40b5079c7 | |
parent | 2defb27292176959da02f1ba32940870dd1814eb (diff) |
w1_netlink.h: add support for nested structs
Now that kernel-doc can hanle nested structs/unions, describe
such fields at w1_netlink_message_types.
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r-- | drivers/w1/w1_netlink.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/w1/w1_netlink.h b/drivers/w1/w1_netlink.h index a36661cd1f05..f876772c0fb4 100644 --- a/drivers/w1/w1_netlink.h +++ b/drivers/w1/w1_netlink.h | |||
@@ -59,7 +59,11 @@ enum w1_netlink_message_types { | |||
59 | * @type: one of enum w1_netlink_message_types | 59 | * @type: one of enum w1_netlink_message_types |
60 | * @status: kernel feedback for success 0 or errno failure value | 60 | * @status: kernel feedback for success 0 or errno failure value |
61 | * @len: length of data following w1_netlink_msg | 61 | * @len: length of data following w1_netlink_msg |
62 | * @id: union holding master bus id (msg.id) and slave device id (id[8]). | 62 | * @id: union holding bus master id (msg.id) and slave device id (id[8]). |
63 | * @id.id: Slave ID (8 bytes) | ||
64 | * @id.mst: bus master identification | ||
65 | * @id.mst.id: bus master ID | ||
66 | * @id.mst.res: bus master reserved | ||
63 | * @data: start address of any following data | 67 | * @data: start address of any following data |
64 | * | 68 | * |
65 | * The base message structure for w1 messages over netlink. | 69 | * The base message structure for w1 messages over netlink. |