summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/line.c
diff options
context:
space:
mode:
authorRichard Weinberger2011-03-23 00:33:48 +0100
committerLinus Torvalds2011-03-23 01:44:09 +0100
commit8a06dc4d52458e4a909b652ee9fe8f82d2cd87a2 (patch)
tree94cb701af633cc4ff7522a0f0eb559cd56afd537 /arch/um/drivers/line.c
parentuml: kernels on {i386,x86_64} produce bad coredumps (diff)
downloadkernel-qcow2-linux-8a06dc4d52458e4a909b652ee9fe8f82d2cd87a2.tar.gz
kernel-qcow2-linux-8a06dc4d52458e4a909b652ee9fe8f82d2cd87a2.tar.xz
kernel-qcow2-linux-8a06dc4d52458e4a909b652ee9fe8f82d2cd87a2.zip
um: remove file pointer from ioctl
Commit 6caa76b ("tty: now phase out the ioctl file pointer for good") removed the ioctl file pointer. User Mode Linux's line driver uses this ioctl and needs a signature update too. Signed-off-by: Richard Weinberger <richard@nod.at> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Greg KH <greg@kroah.com> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/line.c')
-rw-r--r--arch/um/drivers/line.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c
index 050e4ddbbb65..35dd0b86401a 100644
--- a/arch/um/drivers/line.c
+++ b/arch/um/drivers/line.c
@@ -255,8 +255,8 @@ static const struct {
{ KDSIGACCEPT, KERN_INFO, "KDSIGACCEPT" },
};
-int line_ioctl(struct tty_struct *tty, struct file * file,
- unsigned int cmd, unsigned long arg)
+int line_ioctl(struct tty_struct *tty, unsigned int cmd,
+ unsigned long arg)
{
int ret;
int i;