mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 23:53:52 +02: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:
parent
d7a79add37
commit
32d475905c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user