vfs: do bulk POLL* -> EPOLL* replacement
[linux-2.6-block.git] / drivers / media / radio / si470x / radio-si470x-common.c
index 5b477b7d6a66df973d440e9bd4de07e47b858aec..e0054e0f410df09db5c239e52fccc7db211c886b 100644 (file)
@@ -514,7 +514,7 @@ static __poll_t si470x_fops_poll(struct file *file,
        __poll_t req_events = poll_requested_events(pts);
        __poll_t retval = v4l2_ctrl_poll(file, pts);
 
-       if (req_events & (POLLIN | POLLRDNORM)) {
+       if (req_events & (EPOLLIN | EPOLLRDNORM)) {
                /* switch on rds reception */
                if ((radio->registers[SYSCONFIG1] & SYSCONFIG1_RDS) == 0)
                        si470x_rds_on(radio);
@@ -522,7 +522,7 @@ static __poll_t si470x_fops_poll(struct file *file,
                poll_wait(file, &radio->read_queue, pts);
 
                if (radio->rd_index != radio->wr_index)
-                       retval |= POLLIN | POLLRDNORM;
+                       retval |= EPOLLIN | EPOLLRDNORM;
        }
 
        return retval;