]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: typec: Document priority and mode_selection fields in struct typec_altmode
authorAldo Conte <aldocontelk@gmail.com>
Wed, 11 Mar 2026 16:33:20 +0000 (17:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2026 15:07:29 +0000 (16:07 +0100)
commitf8a5f6934f30b9ee334256347dd70a7ba0f8be7f
treec4974cc95a3c4f8df557b89287350fa8b00bab9e
parent351eb14411f748341a9cb32e81f4973407a8350c
usb: typec: Document priority and mode_selection fields in struct typec_altmode

The fields 'priority' and 'mode_selection' in struct typec_altmode are
missing from the kernel-doc comment, which results in warnings when
building the documentation with 'make htmldocs'.

WARNING: ./include/linux/usb/typec_altmode.h:44 struct member 'priority' not described in 'typec_altmode'
WARNING: ./include/linux/usb/typec_altmode.h:44 struct member 'mode_selection' not described in 'typec_altmode'

Document both fields to keep the kernel-doc comment aligned with the
structure definition.

Signed-off-by: Aldo Conte <aldocontelk@gmail.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://patch.msgid.link/20260311163320.61534-1-aldocontelk@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/typec_altmode.h