mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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 <willmcvicker@google.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user