aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-08-18 15:38:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-18 16:40:31 +0200
commitb5a5b9d5f28d23b84f06b45c61dcad95b07d41bc (patch)
tree4192763437069875e0faf1676b3040541f9409fa /include/linux/serial_core.h
parentLinux 6.0-rc1 (diff)
downloadlinux-dev-b5a5b9d5f28d23b84f06b45c61dcad95b07d41bc.tar.xz
linux-dev-b5a5b9d5f28d23b84f06b45c61dcad95b07d41bc.zip
serial: document start_rx member at struct uart_ops
Fix this doc build warning: ./include/linux/serial_core.h:397: warning: Function parameter or member 'start_rx' not described in 'uart_ops' Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Link: https://lore.kernel.org/r/5d07ae2eec8fbad87e623160f9926b178bef2744.1660829433.git.mchehab@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--include/linux/serial_core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index aef3145f2032..6e4f4765d209 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -141,6 +141,14 @@ struct gpio_desc;
* Locking: none.
* Interrupts: caller dependent.
*
+ * @start_rx: ``void ()(struct uart_port *port)``
+ *
+ * Start receiving characters.
+ *
+ * Locking: @port->lock taken.
+ * Interrupts: locally disabled.
+ * This call must not sleep
+ *
* @stop_rx: ``void ()(struct uart_port *port)``
*
* Stop receiving characters; the @port is in the process of being closed.