vfs: do bulk POLL* -> EPOLL* replacement
[linux-2.6-block.git] / drivers / isdn / hardware / eicon / divasmain.c
index fbc788e6f0db9b751913f88ce87945a172264802..b9980e84f9db56570ef9c2dbc8b007e8818978d3 100644 (file)
@@ -653,9 +653,9 @@ static ssize_t divas_read(struct file *file, char __user *buf,
 static __poll_t divas_poll(struct file *file, poll_table *wait)
 {
        if (!file->private_data) {
-               return (POLLERR);
+               return (EPOLLERR);
        }
-       return (POLLIN | POLLRDNORM);
+       return (EPOLLIN | EPOLLRDNORM);
 }
 
 static const struct file_operations divas_fops = {