Skip to content

Commit

Permalink
tty: fix build error in vt_ioctl.c if CONFIG_COMPAT is enabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Feb 17, 2011
1 parent 6caa76b commit 94c2273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/tty.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 94c2273

Please sign in to comment.