diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 14:52:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 21:51:13 +0100 |
commit | 5dd5bc40f3b6e0ccdaad948dbadc94ad0906cb25 (patch) | |
tree | 8e2075f2da22a80ab39219e15c59769d5d8b5202 /drivers/isdn | |
parent | TTY: pdc_cons, fix open vs pdc_console_tty_driver race (diff) | |
download | linux-5dd5bc40f3b6e0ccdaad948dbadc94ad0906cb25.tar.xz linux-5dd5bc40f3b6e0ccdaad948dbadc94ad0906cb25.zip |
TTY: pdc_cons, use tty_port
Instead of digging a tty out of the tty_driver struct, which is not
defined to work, use tty_port properly. This includes proper tty
refcounting even though there is no possible race currently. But we
will need tty_port for tty buffers in the future anyway.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Helge Deller <deller@gmx.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions