diff options
author | 2021-10-26 10:04:26 +0200 | |
---|---|---|
committer | 2021-10-26 19:15:04 +0200 | |
commit | 159f1f9e46dd09bffee3674d300b02856221e794 (patch) | |
tree | 5fb18c03bebaaceed910d0e1f5d65b4e4c6f08b2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "tty: hvc: pass DMA capable memory to put_chars()" (diff) | |
download | wireguard-linux-159f1f9e46dd09bffee3674d300b02856221e794.tar.xz wireguard-linux-159f1f9e46dd09bffee3674d300b02856221e794.zip |
serial: sunzilog: Mark sunzilog_putchar() __maybe_unused
If CONSOLE_POLL=n, CONFIG_SERIAL_SUNZILOG_CONSOLE=n, and CONFIG_SERIO=m:
drivers/tty/serial/sunzilog.c:1128:13: error: ‘sunzilog_putchar’ defined but not used [-Werror=unused-function]
1128 | static void sunzilog_putchar(struct uart_port *port, int ch)
| ^~~~~~~~~~~~~~~~
Fix this by marking sunzilog_putchar() __maybe_unused.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20211026080426.2444756-1-geert@linux-m68k.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions