diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 05:22:01 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-28 00:19:52 +0300 |
commit | a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0 (patch) | |
tree | a4fcb5f30ea25b969f9acfc8fdf53a1f401c7e84 /include/linux/tty_ldisc.h | |
parent | 8ced390c2b18364af35e3d3f080e06f8ea96be9a (diff) | |
download | linux-a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0.tar.xz |
->poll() methods should return __poll_t
The most common place to find POLL... bitmaps: return values
of ->poll() and its subsystem counterparts.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/tty_ldisc.h')
-rw-r--r-- | include/linux/tty_ldisc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tty_ldisc.h b/include/linux/tty_ldisc.h index 3bc5144b1c7e..1ef64d4ad887 100644 --- a/include/linux/tty_ldisc.h +++ b/include/linux/tty_ldisc.h @@ -187,7 +187,7 @@ struct tty_ldisc_ops { 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); - unsigned int (*poll)(struct tty_struct *, struct file *, + __poll_t (*poll)(struct tty_struct *, struct file *, struct poll_table_struct *); int (*hangup)(struct tty_struct *tty); |