linux/drivers/tty/hvc
Yang Yingliang 75fc65079d tty: hvc: fix link error with CONFIG_SERIAL_CORE_CONSOLE=n
aarch64-linux-gnu-ld: drivers/tty/hvc/hvc_dcc.o: in function `dcc_early_write':
hvc_dcc.c:(.text+0x164): undefined reference to `uart_console_write'

The driver uses the uart_console_write(), but SERIAL_CORE_CONSOLE is not
selected, so uart_console_write is not defined, then we get the error.
Fix this by selecting SERIAL_CORE_CONSOLE.

Fixes: d1a1af2cdf ("hvc: dcc: Add earlycon support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20200919063535.2809707-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-27 14:17:43 +02:00
..
hvc_console.c tty: hvc_console, fix crashes on parallel open/close 2020-05-27 10:55:36 +02:00
hvc_console.h
hvc_dcc.c
hvc_irq.c
hvc_iucv.c
hvc_opal.c
hvc_riscv_sbi.c
hvc_rtas.c
hvc_udbg.c
hvc_vio.c
hvc_xen.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hvcs.c tty: hvcs: Don't NULL tty->driver_data until hvcs_cleanup() 2020-09-04 18:09:44 +02:00
hvsi_lib.c
hvsi.c tty: hvc: Return proper error code from console ->setup() hook 2020-06-25 14:23:06 +02:00
Kconfig tty: hvc: fix link error with CONFIG_SERIAL_CORE_CONSOLE=n 2020-09-27 14:17:43 +02:00
Makefile