mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
c23e0cb81e
commit
afc9a42b74
144 changed files with 257 additions and 256 deletions
|
|
@ -1124,10 +1124,10 @@ static int cs_char_fasync(int fd, struct file *file, int on)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int cs_char_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t cs_char_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct cs_char *csdata = file->private_data;
|
||||
unsigned int ret = 0;
|
||||
__poll_t ret = 0;
|
||||
|
||||
poll_wait(file, &cs_char_data.wait, wait);
|
||||
spin_lock_bh(&csdata->lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue