[PATCH 38/76] tty: fix build error in vt_ioctl.c if CONFIG_COMPAT is enabled

From
Greg Kroah-Hartman <gregkh@suse.de>
Date
2011-03-16 21:14:06
Reply to
Greg Kroah-Hartman, 2011-03-16
This was caused by the previous patch to remove the file pointer
from the tty ioctl handler.

Cc: Alan Cox <redacted>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 include/linux/tty.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 483df15..ef1e012 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 */
-- 
1.7.4.1
Thread (78 messages) 78 messages, 2 authors, last reply 2011-03-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help