From: Greg Kroah-Hartman Date: Thu, 17 Feb 2011 20:02:51 +0000 (-0800) Subject: tty: fix build error in vt_ioctl.c if CONFIG_COMPAT is enabled X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=94c2273d6c1b65eaaf2a6446c7147bdf6e5ae924;p=mv-sheeva.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/tty.h b/include/linux/tty.h index 483df15146d..ef1e0123573 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); 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 */