]> Git Repo - linux.git/commit
TTY: pdc_cons, use tty_port
authorJiri Slaby <[email protected]>
Mon, 5 Mar 2012 13:52:53 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <[email protected]>
Thu, 8 Mar 2012 20:51:13 +0000 (12:51 -0800)
commit5dd5bc40f3b6e0ccdaad948dbadc94ad0906cb25
tree8e2075f2da22a80ab39219e15c59769d5d8b5202
parent0b479d54ae7b79f62f09ef977c2228e579924d38
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 <[email protected]>
Cc: Kyle McMartin <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
arch/parisc/kernel/pdc_cons.c
This page took 0.059446 seconds and 4 git commands to generate.