projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6caa76b
)
tty: fix build error in vt_ioctl.c if CONFIG_COMPAT is enabled
author
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 17 Feb 2011 20:02:51 +0000
(12:02 -0800)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/tty.h
b/include/linux/tty.h
index 483df15146d25793cd707b9af11bea53df7be76e..ef1e0123573b50eac09968d00e1202b58392df5c 100644
(file)
--- 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 */