diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-08-07 21:48:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-13 16:53:14 -0700 |
commit | 20cda6f25f9edaa26638fc32e88241af135d712d (patch) | |
tree | 73f6a873370200fad67417f9ccc933c42a2610a9 /drivers/tty/hvc/hvc_console.c | |
parent | 9c650ffc27b444f5370ae5e8bc84df76584416a0 (diff) | |
download | op-kernel-dev-20cda6f25f9edaa26638fc32e88241af135d712d.zip op-kernel-dev-20cda6f25f9edaa26638fc32e88241af135d712d.tar.gz |
TTY: tty3270, add tty install
This has two outcomes:
* we give the TTY layer a tty_port
* we do not find the info structure every time open is called on that
tty
In this case ->install is the only thing we want to do. We do not need
->open at all. See the tty->count > 1 check.
And since we take a reference in ->install, we need also ->cleanup to
drop the reference to a view.
Final note, see that we leave raw3270_find_view in place. It is
because views are removed even from module_exit.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux390@de.ibm.com
Cc: linux-s390@vger.kernel.org
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/hvc/hvc_console.c')
0 files changed, 0 insertions, 0 deletions