aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/vt_ioctl.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-06-01 22:52:56 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 13:47:42 -0700
commit8ce73264b75be4d5ed480440ac32dfc1f25ff678 (patch)
treed604eda549bee636d8132994496ba2f1406fb8f1 /drivers/char/vt_ioctl.c
parentff917ba4f1a6189f90ed2c975984d6a1a1dc553d (diff)
downloadkernel_samsung_smdk4412-8ce73264b75be4d5ed480440ac32dfc1f25ff678.zip
kernel_samsung_smdk4412-8ce73264b75be4d5ed480440ac32dfc1f25ff678.tar.gz
kernel_samsung_smdk4412-8ce73264b75be4d5ed480440ac32dfc1f25ff678.tar.bz2
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>
Diffstat (limited to 'drivers/char/vt_ioctl.c')
-rw-r--r--drivers/char/vt_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c
index cb19dbc..72dcfb2 100644
--- a/drivers/char/vt_ioctl.c
+++ b/drivers/char/vt_ioctl.c
@@ -1369,7 +1369,7 @@ void vc_SAK(struct work_struct *work)
acquire_console_sem();
vc = vc_con->d;
if (vc) {
- tty = vc->vc_tty;
+ tty = vc->port.tty;
/*
* SAK should also work in all raw modes and reset
* them properly.