[PATCH] Documentation: fixes a documentation warning in serial_core.h

From: Dhanuka Warusadura
Date: Sun Aug 28 2022 - 02:31:01 EST


These changes fix the documentation warning: Function parameter
or member 'start_rx' not described in 'uart_ops'

Signed-off-by: Dhanuka Warusadura <wdnuka@xxxxxxxxx>
---
include/linux/serial_core.h | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index aef3145f2032..44a7b4746f36 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -149,6 +149,14 @@ struct gpio_desc;
* Interrupts: locally disabled.
* This call must not sleep
*
+ * @start_rx: ``void () (struct uart_port *)``
+ *
+ * Start receiving characters; the @port is in the process of being opened.
+ *
+ * Locking: @port->lock taken.
+ * Interrupts: locally disabled.
+ * This call must not sleep
+ *
* @enable_ms: ``void ()(struct uart_port *port)``
*
* Enable the modem status interrupts.
--
2.37.2