summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/serial/s5p.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/drivers/serial/s5p.c')
-rw-r--r--payloads/libpayload/drivers/serial/s5p.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/serial/s5p.c b/payloads/libpayload/drivers/serial/s5p.c
index 1d23352ec4..6ca5dc4717 100644
--- a/payloads/libpayload/drivers/serial/s5p.c
+++ b/payloads/libpayload/drivers/serial/s5p.c
@@ -84,7 +84,8 @@ static struct console_output_driver s5p_serial_output =
static struct console_input_driver s5p_serial_input =
{
.havekey = &serial_havechar,
- .getchar = &serial_getchar
+ .getchar = &serial_getchar,
+ .input_type = CONSOLE_INPUT_TYPE_UART,
};
void serial_init(void)