mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
tty: now phase out the ioctl file pointer for good
Only oddities here are a couple of drivers that bogusly called the ldisc helpers instead of returning -ENOIOCTLCMD. Fix the bug and the rest goes away. Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
00a0d0d65b
commit
6caa76b778
41 changed files with 66 additions and 78 deletions
|
|
@ -365,12 +365,12 @@ static int ircomm_tty_set_serial_info(struct ircomm_tty_cb *self,
|
|||
}
|
||||
|
||||
/*
|
||||
* Function ircomm_tty_ioctl (tty, file, cmd, arg)
|
||||
* Function ircomm_tty_ioctl (tty, cmd, arg)
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
int ircomm_tty_ioctl(struct tty_struct *tty, struct file *file,
|
||||
int ircomm_tty_ioctl(struct tty_struct *tty,
|
||||
unsigned int cmd, unsigned long arg)
|
||||
{
|
||||
struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data;
|
||||
|
|
|
|||
Loading…
Reference in a new issue