OSDN Git Service

Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[linux-kernel-docs/linux-2.6.git] / fs / compat_ioctl.c
index 9663e87..97dba0d 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;