summaryrefslogtreecommitdiff
path: root/drivers/tty/tty_ldisc.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-11-04 22:35:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-06 12:54:05 +0300
commit8a3bdec1dff987293df05e90ec1f5030dd840803 (patch)
tree4a7192550f5d90201a5845069bec4420e8af5b91 /drivers/tty/tty_ldisc.c
parent24832ca3ee85a14c42a4f23a5c8841ef5db3d029 (diff)
downloadlinux-8a3bdec1dff987293df05e90ec1f5030dd840803.tar.xz
tty: tty_ldisc: Supply missing description for 'tty_ldisc_get's 'tty' param
Fixes the following W=1 kernel build warning(s): drivers/tty/tty_ldisc.c:160: warning: Function parameter or member 'tty' not described in 'tty_ldisc_get' Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20201104193549.4026187-30-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_ldisc.c')
-rw-r--r--drivers/tty/tty_ldisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c
index fe37ec331289..e813808b27a7 100644
--- a/drivers/tty/tty_ldisc.c
+++ b/drivers/tty/tty_ldisc.c
@@ -137,6 +137,7 @@ static void put_ldops(struct tty_ldisc_ops *ldops)
/**
* tty_ldisc_get - take a reference to an ldisc
+ * @tty: tty device
* @disc: ldisc number
*
* Takes a reference to a line discipline. Deals with refcounts and