From 953756e2fb02880d6d6b7d961540a064c6df9f97 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Mon, 2 Apr 2012 13:53:46 +0200 Subject: [PATCH] TTY: crisv10, initialize tty_port The tty_port used in the driver is left uninitialized. Add the initialization there. Signed-off-by: Jiri Slaby Cc: Mikael Starvik Acked-by: Jesper Nilsson Cc: linux-cris-kernel@axis.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/crisv10.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/crisv10.c b/drivers/tty/serial/crisv10.c index 004ee2e9003a..80b6b1b1f725 100644 --- a/drivers/tty/serial/crisv10.c +++ b/drivers/tty/serial/crisv10.c @@ -4462,6 +4462,7 @@ static int __init rs_init(void) info->enabled = 0; } } + tty_port_init(&info->port); info->uses_dma_in = 0; info->uses_dma_out = 0; info->line = i; -- 2.34.1