]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/compat_ioctl.c
tty: The big operations rework
[linux-2.6-omap-h63xx.git] / fs / compat_ioctl.c
index 9663e877672465f39fc2d0f67fff757e88a2771c..97dba0d92348d27692c4f9c10bc6e99c25333cd8 100644 (file)
@@ -1053,7 +1053,7 @@ static int vt_check(struct file *file)
        if (tty_paranoia_check(tty, inode, "tty_ioctl"))
                return -EINVAL;
                                                        
-       if (tty->driver->ioctl != vt_ioctl)
+       if (tty->ops->ioctl != vt_ioctl)
                return -EINVAL;
 
        vc = (struct vc_data *)tty->driver_data;