TTY: crisv10, initialize tty_port
The tty_port used in the driver is left uninitialized. Add the initialization there. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Mikael Starvik <starvik@axis.com> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Cc: linux-cris-kernel@axis.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
37f00f62af
commit
953756e2fb
|
@ -4462,6 +4462,7 @@ static int __init rs_init(void)
|
||||||
info->enabled = 0;
|
info->enabled = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
tty_port_init(&info->port);
|
||||||
info->uses_dma_in = 0;
|
info->uses_dma_in = 0;
|
||||||
info->uses_dma_out = 0;
|
info->uses_dma_out = 0;
|
||||||
info->line = i;
|
info->line = i;
|
||||||
|
|
Loading…
Reference in New Issue