提交 d23df2dc 编写于 作者: R Randy Dunlap 提交者: Greg Kroah-Hartman

linux/mod_devicetable.h: fix kernel-doc missing notation for typec_device_id

Fix kernel-doc warning for missing struct member description:

../include/linux/mod_devicetable.h:763: warning: Function parameter or member 'driver_data' not described in 'typec_device_id'

Fixes: 8a37d87d ("usb: typec: Bus type for alternate modes")
Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: NHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 40de5fe4
...@@ -754,6 +754,7 @@ struct tb_service_id { ...@@ -754,6 +754,7 @@ struct tb_service_id {
* struct typec_device_id - USB Type-C alternate mode identifiers * struct typec_device_id - USB Type-C alternate mode identifiers
* @svid: Standard or Vendor ID * @svid: Standard or Vendor ID
* @mode: Mode index * @mode: Mode index
* @driver_data: Driver specific data
*/ */
struct typec_device_id { struct typec_device_id {
__u16 svid; __u16 svid;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册