summaryrefslogtreecommitdiff
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2025-06-08 18:46:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-19 14:24:16 +0300
commitd574c5dc8cfe1fd1ddda6edb435f3b3f39155c52 (patch)
tree760255f13d27e85a6744912918a5b10116103438 /include/linux/serial_core.h
parent4fcc287f3c692450ffd91c72a19c58740494491a (diff)
downloadlinux-d574c5dc8cfe1fd1ddda6edb435f3b3f39155c52.tar.xz
serial: Remove unused uart_get_console
uart_get_console() has been unused since 2019's commit bd0d9d159988 ("serial: remove ks8695 driver") Remove it, and it's associated docs. Signed-off-by: "Dr. David Alan Gilbert" <linux@treblig.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20250608154654.73994-1-linux@treblig.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r--include/linux/serial_core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index d65b15449cfe..84b4648ead7e 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -1101,8 +1101,6 @@ static inline bool uart_console_registered(struct uart_port *port)
return uart_console(port) && console_is_registered(port->cons);
}
-struct uart_port *uart_get_console(struct uart_port *ports, int nr,
- struct console *c);
int uart_parse_earlycon(char *p, enum uart_iotype *iotype,
resource_size_t *addr, char **options);
void uart_parse_options(const char *options, int *baud, int *parity, int *bits,