aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-02-17 15:02:51 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-17 15:02:51 -0500
commit94c2273d6c1b65eaaf2a6446c7147bdf6e5ae924 (patch)
treed95044379346dc5540f4c3079a1551429704c904
parent6caa76b7786891b42b66a0e61e2c2fff2c884620 (diff)
tty: fix build error in vt_ioctl.c if CONFIG_COMPAT is enabled
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>
-rw-r--r--include/linux/tty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 483df15146d2..ef1e0123573b 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -587,7 +587,7 @@ extern int pcxe_open(struct tty_struct *tty, struct file *filp);
587extern int vt_ioctl(struct tty_struct *tty, 587extern int vt_ioctl(struct tty_struct *tty,
588 unsigned int cmd, unsigned long arg); 588 unsigned int cmd, unsigned long arg);
589 589
590extern long vt_compat_ioctl(struct tty_struct *tty, struct file * file, 590extern long vt_compat_ioctl(struct tty_struct *tty,
591 unsigned int cmd, unsigned long arg); 591 unsigned int cmd, unsigned long arg);
592 592
593/* tty_mutex.c */ 593/* tty_mutex.c */