tty: Fix checkpatch errors in tty_ldisc.h
Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
01a5e440c9
commit
6be06e7273
|
@ -123,15 +123,15 @@ struct tty_ldisc_ops {
|
|||
void (*close)(struct tty_struct *);
|
||||
void (*flush_buffer)(struct tty_struct *tty);
|
||||
ssize_t (*chars_in_buffer)(struct tty_struct *tty);
|
||||
ssize_t (*read)(struct tty_struct * tty, struct file * file,
|
||||
unsigned char __user * buf, size_t nr);
|
||||
ssize_t (*write)(struct tty_struct * tty, struct file * file,
|
||||
const unsigned char * buf, size_t nr);
|
||||
int (*ioctl)(struct tty_struct * tty, struct file * file,
|
||||
ssize_t (*read)(struct tty_struct *tty, struct file *file,
|
||||
unsigned char __user *buf, size_t nr);
|
||||
ssize_t (*write)(struct tty_struct *tty, struct file *file,
|
||||
const unsigned char *buf, size_t nr);
|
||||
int (*ioctl)(struct tty_struct *tty, struct file *file,
|
||||
unsigned int cmd, unsigned long arg);
|
||||
long (*compat_ioctl)(struct tty_struct * tty, struct file * file,
|
||||
long (*compat_ioctl)(struct tty_struct *tty, struct file *file,
|
||||
unsigned int cmd, unsigned long arg);
|
||||
void (*set_termios)(struct tty_struct *tty, struct ktermios * old);
|
||||
void (*set_termios)(struct tty_struct *tty, struct ktermios *old);
|
||||
unsigned int (*poll)(struct tty_struct *, struct file *,
|
||||
struct poll_table_struct *);
|
||||
int (*hangup)(struct tty_struct *tty);
|
||||
|
|
Loading…
Reference in a new issue