vfs: do bulk POLL* -> EPOLL* replacement
[linux-block.git] / drivers / usb / misc / ldusb.c
index 074398c1e410f14522fcc64ec3d20f2783c7da94..63b9e85dc0e9365254bc8752a833fd6fd1ba24dd 100644 (file)
@@ -417,15 +417,15 @@ static __poll_t ld_usb_poll(struct file *file, poll_table *wait)
        dev = file->private_data;
 
        if (!dev->intf)
-               return POLLERR | POLLHUP;
+               return EPOLLERR | EPOLLHUP;
 
        poll_wait(file, &dev->read_wait, wait);
        poll_wait(file, &dev->write_wait, wait);
 
        if (dev->ring_head != dev->ring_tail)
-               mask |= POLLIN | POLLRDNORM;
+               mask |= EPOLLIN | EPOLLRDNORM;
        if (!dev->interrupt_out_busy)
-               mask |= POLLOUT | POLLWRNORM;
+               mask |= EPOLLOUT | EPOLLWRNORM;
 
        return mask;
 }