summaryrefslogtreecommitdiff
path: root/include/linux/usb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-06-28 10:46:24 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-29 21:00:16 +0200
commitae92b1c84306a68c361d90b46ad3acef99c10e29 (patch)
treeeb3b2577f82d4a82ad05d331711f7c51d4cc21a4 /include/linux/usb
parent849f35422319a46c2a52289e2d5c85eb3346a921 (diff)
downloadlinux-next-ae92b1c84306a68c361d90b46ad3acef99c10e29.tar.gz
usb: typec_altmode: add a missing "@" at a kernel-doc parameter
Without that, the parameter is not properly parsed: include/linux/usb/typec_altmode.h:132: warning: Function parameter or member 'altmode' not described in 'typec_altmode_get_orientation' Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/70dc4c5d744cf1fe9a0efe6b85deaa0489628282.1656409369.git.mchehab@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/typec_altmode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/typec_altmode.h b/include/linux/usb/typec_altmode.h
index 65933cbe9129..350d49012659 100644
--- a/include/linux/usb/typec_altmode.h
+++ b/include/linux/usb/typec_altmode.h
@@ -124,7 +124,7 @@ struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
/**
* typec_altmode_get_orientation - Get cable plug orientation
- * altmode: Handle to the alternate mode
+ * @altmode: Handle to the alternate mode
*/
static inline enum typec_orientation
typec_altmode_get_orientation(struct typec_altmode *altmode)