Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fc7351d authored by John Stultz's avatar John Stultz Committed by Alistair Delva
Browse files

ANDROID: tty: serial_core: Export uart_console_device so it can be used by modules



In order to support serial console w/ SERIAL_QCOM_GENI=m,
we need to export the uart_console_device() symbol so things
will build

Change-Id: I3067c3aaadf84f46ede3162aa8cee4028a3e42d8
Bug: 146449535
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent 2eb9ebfd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2603,6 +2603,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)