diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-18 13:30:19 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2017-12-21 21:41:47 +0100 |
commit | aa931b44ae3e32329b054e3cd8ba1a4f1aa9e0d8 (patch) | |
tree | 3f6f701035db83ef6d833944500b1dd40b5079c7 /drivers/w1 | |
parent | scripts: kernel-doc: apply filtering rules to warnings (diff) | |
download | linux-aa931b44ae3e32329b054e3cd8ba1a4f1aa9e0d8.tar.xz linux-aa931b44ae3e32329b054e3cd8ba1a4f1aa9e0d8.zip |
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>
Diffstat (limited to 'drivers/w1')
-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 { * @type: one of enum w1_netlink_message_types * @status: kernel feedback for success 0 or errno failure value * @len: length of data following w1_netlink_msg - * @id: union holding master bus id (msg.id) and slave device id (id[8]). + * @id: union holding bus master id (msg.id) and slave device id (id[8]). + * @id.id: Slave ID (8 bytes) + * @id.mst: bus master identification + * @id.mst.id: bus master ID + * @id.mst.res: bus master reserved * @data: start address of any following data * * The base message structure for w1 messages over netlink. |