]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
tty: fix build error in vt_ioctl.c if CONFIG_COMPAT is enabled
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 20:02:51 +0000 (12:02 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 20:02:51 +0000 (12:02 -0800)
This was caused by the previous patch to remove the file pointer
from the tty ioctl handler.

Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/tty.h

index 483df15146d25793cd707b9af11bea53df7be76e..ef1e0123573b50eac09968d00e1202b58392df5c 100644 (file)
@@ -587,7 +587,7 @@ extern int pcxe_open(struct tty_struct *tty, struct file *filp);
 extern int vt_ioctl(struct tty_struct *tty,
                    unsigned int cmd, unsigned long arg);
 
-extern long vt_compat_ioctl(struct tty_struct *tty, struct file * file,
+extern long vt_compat_ioctl(struct tty_struct *tty,
                     unsigned int cmd, unsigned long arg);
 
 /* tty_mutex.c */