diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-04-02 13:53:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-09 11:14:49 -0700 |
commit | 953756e2fb02880d6d6b7d961540a064c6df9f97 (patch) | |
tree | 4490c42bd8901e3f6dc20f616899bc7d34753e94 /drivers/tty/serial/crisv10.c | |
parent | 37f00f62affe2ff673a9d5e93fcab154b0e8406c (diff) | |
download | op-kernel-dev-953756e2fb02880d6d6b7d961540a064c6df9f97.zip op-kernel-dev-953756e2fb02880d6d6b7d961540a064c6df9f97.tar.gz |
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>
Diffstat (limited to 'drivers/tty/serial/crisv10.c')
-rw-r--r-- | drivers/tty/serial/crisv10.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/crisv10.c b/drivers/tty/serial/crisv10.c index 004ee2e..80b6b1b 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; |