the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -280,7 +280,7 @@ long ptp_ioctl(struct posix_clock *pc, unsigned int cmd, unsigned long arg)
|
||||
return err;
|
||||
}
|
||||
|
||||
unsigned int ptp_poll(struct posix_clock *pc, struct file *fp, poll_table *wait)
|
||||
__poll_t ptp_poll(struct posix_clock *pc, struct file *fp, poll_table *wait)
|
||||
{
|
||||
struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock);
|
||||
|
||||
|
@@ -90,7 +90,7 @@ int ptp_open(struct posix_clock *pc, fmode_t fmode);
|
||||
ssize_t ptp_read(struct posix_clock *pc,
|
||||
uint flags, char __user *buf, size_t cnt);
|
||||
|
||||
uint ptp_poll(struct posix_clock *pc,
|
||||
__poll_t ptp_poll(struct posix_clock *pc,
|
||||
struct file *fp, poll_table *wait);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user