]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - drivers/macintosh/smu.c
vfs: do bulk POLL* -> EPOLL* replacement
[zynq/linux.git] / drivers / macintosh / smu.c
index 346e6f5f77be7e0510daf61ae1db48ada6e56677..e8ae2e54151cc2d913f1d5159610e9813d2a8799 100644 (file)
@@ -1259,7 +1259,7 @@ static __poll_t smu_fpoll(struct file *file, poll_table *wait)
 
                spin_lock_irqsave(&pp->lock, flags);
                if (pp->busy && pp->cmd.status != 1)
-                       mask |= POLLIN;
+                       mask |= EPOLLIN;
                spin_unlock_irqrestore(&pp->lock, flags);
        }
        if (pp->mode == smu_file_events) {