• Jiri Slaby's avatar
    TTY: pdc_cons, use tty_port · 5dd5bc40
    Jiri Slaby authored
    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: default avatarJiri 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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    5dd5bc40
pdc_cons.c 7.65 KB