• J
    TTY: pdc_cons, use tty_port · 5dd5bc40
    Jiri Slaby 提交于
    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: NJiri 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: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    5dd5bc40
pdc_cons.c 7.7 KB