Commit 6be06e72 authored by Peter Hurley's avatar Peter Hurley Committed by Greg Kroah-Hartman

tty: Fix checkpatch errors in tty_ldisc.h

Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 01a5e440
...@@ -123,15 +123,15 @@ struct tty_ldisc_ops { ...@@ -123,15 +123,15 @@ struct tty_ldisc_ops {
void (*close)(struct tty_struct *); void (*close)(struct tty_struct *);
void (*flush_buffer)(struct tty_struct *tty); void (*flush_buffer)(struct tty_struct *tty);
ssize_t (*chars_in_buffer)(struct tty_struct *tty); ssize_t (*chars_in_buffer)(struct tty_struct *tty);
ssize_t (*read)(struct tty_struct * tty, struct file * file, ssize_t (*read)(struct tty_struct *tty, struct file *file,
unsigned char __user * buf, size_t nr); unsigned char __user *buf, size_t nr);
ssize_t (*write)(struct tty_struct * tty, struct file * file, ssize_t (*write)(struct tty_struct *tty, struct file *file,
const unsigned char * buf, size_t nr); const unsigned char *buf, size_t nr);
int (*ioctl)(struct tty_struct * tty, struct file * file, int (*ioctl)(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg); 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); 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 *, unsigned int (*poll)(struct tty_struct *, struct file *,
struct poll_table_struct *); struct poll_table_struct *);
int (*hangup)(struct tty_struct *tty); int (*hangup)(struct tty_struct *tty);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment