tty: Move the vt_tty field from the vc_data into the standard tty_port
authorAlan Cox <alan@linux.intel.com>
Tue, 1 Jun 2010 20:52:56 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:42 +0000 (13:47 -0700)
commit8ce73264b75be4d5ed480440ac32dfc1f25ff678
treed604eda549bee636d8132994496ba2f1406fb8f1
parentff917ba4f1a6189f90ed2c975984d6a1a1dc553d
tty: Move the vt_tty field from the vc_data into the standard tty_port

This takes all the tty references through the expected interface points so
we can refcount them.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/keyboard.c
drivers/char/vt.c
drivers/char/vt_ioctl.c
include/linux/console_struct.h