projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tiocmget: kill off the passing of the struct file
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
serial
/
opticon.c
diff --git
a/drivers/usb/serial/opticon.c
b/drivers/usb/serial/opticon.c
index eda1f9266c4eda335fea0c137de606bbd5b89938..e305df807396439009588d8338b340bb3525773d 100644
(file)
--- a/
drivers/usb/serial/opticon.c
+++ b/
drivers/usb/serial/opticon.c
@@
-352,7
+352,7
@@
static void opticon_unthrottle(struct tty_struct *tty)
}
}
-static int opticon_tiocmget(struct tty_struct *tty
, struct file *file
)
+static int opticon_tiocmget(struct tty_struct *tty)
{
struct usb_serial_port *port = tty->driver_data;
struct opticon_private *priv = usb_get_serial_data(port->serial);