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
/
char
/
rocket.c
diff --git
a/drivers/char/rocket.c
b/drivers/char/rocket.c
index 3e4e73a0d7c151d3e878f7f0aa1e894b1fb65be6..75e98efbc8e949e288361fe56b588cab5ccb9218 100644
(file)
--- a/
drivers/char/rocket.c
+++ b/
drivers/char/rocket.c
@@
-1169,7
+1169,7
@@
static int sGetChanRI(CHANNEL_T * ChP)
* Returns the state of the serial modem control lines. These next 2 functions
* are the way kernel versions > 2.5 handle modem control lines rather than IOCTLs.
*/
* Returns the state of the serial modem control lines. These next 2 functions
* are the way kernel versions > 2.5 handle modem control lines rather than IOCTLs.
*/
-static int rp_tiocmget(struct tty_struct *tty
, struct file *file
)
+static int rp_tiocmget(struct tty_struct *tty)
{
struct r_port *info = tty->driver_data;
unsigned int control, result, ChanStatus;
{
struct r_port *info = tty->driver_data;
unsigned int control, result, ChanStatus;