Skip to contentSkip to conversation

Documentation: fixes a documentation warning in serial_core.h

PATCH New Dhanuka Warusadura 1 participant 1 message Aug 28, 2022 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: fixes a documentation warning in serial_core.h

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

---
 include/linux/serial_core.h | 8 ++++++++
 1 file changed, 8 insertions(+)
include/linux/serial_core.h +8 -0
index aef3145f2032..44a7b4746f36 100644
@@ -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.
Signature · 1 line
2.37.2