diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-09-15 22:04:11 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-23 14:33:48 +0200 |
| commit | a8e8cf9bf446b65449c7bc39ad84956c347d5f9c (patch) | |
| tree | f1d65b387ddef236cfbe20504c95c62846ca4b26 /tools/lib/python | |
| parent | 63ef71d1474b5417b5b2dec700cd251c44a570d9 (diff) | |
| download | linux-next-a8e8cf9bf446b65449c7bc39ad84956c347d5f9c.tar.gz linux-next-a8e8cf9bf446b65449c7bc39ad84956c347d5f9c.zip | |
serial: qcom-geni: avoid unused-function warning
The qcom_geni_serial_poll_rx_fifo_locked() function is only
used for console support, but defined outside of the #ifdef block:
drivers/tty/serial/qcom_geni_serial.c:918:13: error: 'qcom_geni_serial_poll_rx_fifo_locked' defined but not used [-Werror=unused-function]
918 | static void qcom_geni_serial_poll_rx_fifo_locked(struct uart_port *uport)
Move the function definition to a more appropriate place that
avoids the warning.
Fixes: 8200871327d1 ("serial: qcom-geni: Keep FIFO RX active during console TX")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260915200435.3524505-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
