vfs: do bulk POLL* -> EPOLL* replacement
[linux-2.6-microblaze.git] / net / rfkill / core.c
index 124c77e..59d0eb9 100644 (file)
@@ -1142,13 +1142,13 @@ static int rfkill_fop_open(struct inode *inode, struct file *file)
 static __poll_t rfkill_fop_poll(struct file *file, poll_table *wait)
 {
        struct rfkill_data *data = file->private_data;
-       __poll_t res = POLLOUT | POLLWRNORM;
+       __poll_t res = EPOLLOUT | EPOLLWRNORM;
 
        poll_wait(file, &data->read_wait, wait);
 
        mutex_lock(&data->mtx);
        if (!list_empty(&data->events))
-               res = POLLIN | POLLRDNORM;
+               res = EPOLLIN | EPOLLRDNORM;
        mutex_unlock(&data->mtx);
 
        return res;