summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-18 10:30:19 -0200
committerJonathan Corbet <corbet@lwn.net>2017-12-21 13:41:47 -0700
commitaa931b44ae3e32329b054e3cd8ba1a4f1aa9e0d8 (patch)
tree3f6f701035db83ef6d833944500b1dd40b5079c7 /drivers/w1
parent2defb27292176959da02f1ba32940870dd1814eb (diff)
downloadlinux-stable-aa931b44ae3e32329b054e3cd8ba1a4f1aa9e0d8.tar.gz
linux-stable-aa931b44ae3e32329b054e3cd8ba1a4f1aa9e0d8.tar.bz2
linux-stable-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.h6
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.