diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-02 22:22:01 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:19:52 -0500 |
commit | a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0 (patch) | |
tree | a4fcb5f30ea25b969f9acfc8fdf53a1f401c7e84 /include/linux/posix-clock.h | |
parent | 8ced390c2b18364af35e3d3f080e06f8ea96be9a (diff) | |
download | lwn-a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0.tar.gz lwn-a3f8683bf7d5e6254fe68f5c5d3585e27eea8ed0.zip |
->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/posix-clock.h')
-rw-r--r-- | include/linux/posix-clock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/posix-clock.h b/include/linux/posix-clock.h index 38d8225510f1..3a3bc71017d5 100644 --- a/include/linux/posix-clock.h +++ b/include/linux/posix-clock.h @@ -68,7 +68,7 @@ struct posix_clock_operations { int (*open) (struct posix_clock *pc, fmode_t f_mode); - uint (*poll) (struct posix_clock *pc, + __poll_t (*poll) (struct posix_clock *pc, struct file *file, poll_table *wait); int (*release) (struct posix_clock *pc); |