Skip to content

Commit b5a5b9d

Browse files
mchehabgregkh
authored andcommitted
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>
1 parent 568035b commit b5a5b9d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

include/linux/serial_core.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ struct gpio_desc;
141141
* Locking: none.
142142
* Interrupts: caller dependent.
143143
*
144+
* @start_rx: ``void ()(struct uart_port *port)``
145+
*
146+
* Start receiving characters.
147+
*
148+
* Locking: @port->lock taken.
149+
* Interrupts: locally disabled.
150+
* This call must not sleep
151+
*
144152
* @stop_rx: ``void ()(struct uart_port *port)``
145153
*
146154
* Stop receiving characters; the @port is in the process of being closed.

0 commit comments

Comments
 (0)