]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/char/vt_ioctl.c
tty: Move the vt_tty field from the vc_data into the standard tty_port
[net-next-2.6.git] / drivers / char / vt_ioctl.c
index cb19dbc52136426d3b869c089a7153de2c719c7f..72dcfb2dc1262911daf3d5e64f043b67425652c7 100644 (file)
@@ -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.