]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - drivers/media/radio/radio-si476x.c
vfs: do bulk POLL* -> EPOLL* replacement
[zynq/linux.git] / drivers / media / radio / radio-si476x.c
index bff9789ae9bc1940e95d1e49029d54739c90af5d..b52e678c6901cfa8b115d7790be029cbd37cfc2f 100644 (file)
@@ -1158,15 +1158,15 @@ static __poll_t si476x_radio_fops_poll(struct file *file,
        __poll_t req_events = poll_requested_events(pts);
        __poll_t err = v4l2_ctrl_poll(file, pts);
 
-       if (req_events & (POLLIN | POLLRDNORM)) {
+       if (req_events & (EPOLLIN | EPOLLRDNORM)) {
                if (atomic_read(&radio->core->is_alive))
                        poll_wait(file, &radio->core->rds_read_queue, pts);
 
                if (!atomic_read(&radio->core->is_alive))
-                       err = POLLHUP;
+                       err = EPOLLHUP;
 
                if (!kfifo_is_empty(&radio->core->rds_fifo))
-                       err = POLLIN | POLLRDNORM;
+                       err = EPOLLIN | EPOLLRDNORM;
        }
 
        return err;