]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
serial: mux: Fix kernel doc for mux_poll()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 6 Nov 2025 11:38:15 +0000 (12:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2025 12:11:17 +0000 (13:11 +0100)
The validator is not happy:

Warning: drivers/tty/serial/mux.c:351 expecting prototype for mux_drv_poll(). Prototype was for mux_poll() instead

Update the kernel-doc accordingly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251106113815.2302539-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mux.c

index b417faead20f0272393dcde4cbb376df993d0577..3a77a7e5c7bcb3a1d0731fad3b85a27d372f98a9 100644 (file)
@@ -343,7 +343,7 @@ static int mux_verify_port(struct uart_port *port, struct serial_struct *ser)
 }
 
 /**
- * mux_drv_poll - Mux poll function.
+ * mux_poll - Mux poll function.
  * @unused: Unused variable
  *
  * This function periodically polls the Serial MUX to check for new data.