Commit aa931b44 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet

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: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 2defb272
...@@ -59,7 +59,11 @@ enum w1_netlink_message_types { ...@@ -59,7 +59,11 @@ enum w1_netlink_message_types {
* @type: one of enum w1_netlink_message_types * @type: one of enum w1_netlink_message_types
* @status: kernel feedback for success 0 or errno failure value * @status: kernel feedback for success 0 or errno failure value
* @len: length of data following w1_netlink_msg * @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 * @data: start address of any following data
* *
* The base message structure for w1 messages over netlink. * The base message structure for w1 messages over netlink.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment