From 32d475905ca52076eb784292ab11efd30912290e Mon Sep 17 00:00:00 2001 From: Will McVicker Date: Wed, 15 Apr 2020 14:31:26 -0700 Subject: [PATCH] ANDROID: GKI: serial: core: export uart_console_device Needed for a modularized uart console driver. Change-Id: Ia6e3c3a48e40ef9f9e7266b47498703218ef40d9 Bug: 154153369 Test: compile Signed-off-by: Will McVicker --- drivers/tty/serial/serial_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 2a5bf4c14fb8..d2e387379abc 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -2555,6 +2555,7 @@ struct tty_driver *uart_console_device(struct console *co, int *index) *index = co->index; return p->tty_driver; } +EXPORT_SYMBOL_GPL(uart_console_device); static ssize_t uart_get_attr_uartclk(struct device *dev, struct device_attribute *attr, char *buf)