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
|
|
@ -157,7 +157,7 @@ static void dma_buf_poll_cb(struct dma_fence *fence, struct dma_fence_cb *cb)
|
|||
spin_unlock_irqrestore(&dcb->poll->lock, flags);
|
||||
}
|
||||
|
||||
static unsigned int dma_buf_poll(struct file *file, poll_table *poll)
|
||||
static __poll_t dma_buf_poll(struct file *file, poll_table *poll)
|
||||
{
|
||||
struct dma_buf *dmabuf;
|
||||
struct reservation_object *resv;
|
||||
|
|
@ -195,7 +195,7 @@ retry:
|
|||
|
||||
if (fence_excl && (!(events & POLLOUT) || shared_count == 0)) {
|
||||
struct dma_buf_poll_cb_t *dcb = &dmabuf->cb_excl;
|
||||
unsigned long pevents = POLLIN;
|
||||
__poll_t pevents = POLLIN;
|
||||
|
||||
if (shared_count == 0)
|
||||
pevents |= POLLOUT;
|
||||
|
|
|
|||
|
|
@ -312,7 +312,7 @@ static int sync_file_release(struct inode *inode, struct file *file)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int sync_file_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t sync_file_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct sync_file *sync_file = file->private_data;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue