]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - sound/core/seq/oss/seq_oss_rw.c
vfs: do bulk POLL* -> EPOLL* replacement
[zynq/linux.git] / sound / core / seq / oss / seq_oss_rw.c
index c538e78ca3102eca37ba970eae465e00e24ddf32..30886f5fb1001084e2904610c6f634b79a3f0dfd 100644 (file)
@@ -204,13 +204,13 @@ snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wai
        /* input */
        if (dp->readq && is_read_mode(dp->file_mode)) {
                if (snd_seq_oss_readq_poll(dp->readq, file, wait))
-                       mask |= POLLIN | POLLRDNORM;
+                       mask |= EPOLLIN | EPOLLRDNORM;
        }
 
        /* output */
        if (dp->writeq && is_write_mode(dp->file_mode)) {
                if (snd_seq_kernel_client_write_poll(dp->cseq, file, wait))
-                       mask |= POLLOUT | POLLWRNORM;
+                       mask |= EPOLLOUT | EPOLLWRNORM;
        }
        return mask;
 }