]> git.ipfire.org Git - people/ms/linux.git/blobdiff - drivers/media/radio/radio-cadet.c
vfs: do bulk POLL* -> EPOLL* replacement
[people/ms/linux.git] / drivers / media / radio / radio-cadet.c
index af7c68b344d1a04972cba5cd42103323f254ca67..5b82e63885cdd845a744451b0f2ed8f16056c0e2 100644 (file)
@@ -488,14 +488,14 @@ static __poll_t cadet_poll(struct file *file, struct poll_table_struct *wait)
        __poll_t res = v4l2_ctrl_poll(file, wait);
 
        poll_wait(file, &dev->read_queue, wait);
-       if (dev->rdsstat == 0 && (req_events & (POLLIN | POLLRDNORM))) {
+       if (dev->rdsstat == 0 && (req_events & (EPOLLIN | EPOLLRDNORM))) {
                mutex_lock(&dev->lock);
                if (dev->rdsstat == 0)
                        cadet_start_rds(dev);
                mutex_unlock(&dev->lock);
        }
        if (cadet_has_rds_data(dev))
-               res |= POLLIN | POLLRDNORM;
+               res |= EPOLLIN | EPOLLRDNORM;
        return res;
 }