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

Dhanuka Warusadura posted 1 patch 3 years, 7 months ago
include/linux/serial_core.h | 8 ++++++++
1 file changed, 8 insertions(+)
[PATCH] Documentation: fixes a documentation warning in serial_core.h
Posted by Dhanuka Warusadura 3 years, 7 months ago
These changes fix the documentation warning: Function parameter
or member 'start_rx' not described in 'uart_ops'

Signed-off-by: Dhanuka Warusadura <wdnuka@gmail.com>
---
 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