kvm: x86: IA32_ARCH_CAPABILITIES is always supported
[linux-2.6-microblaze.git] / drivers / ptp / ptp_chardev.c
index a593b4c..767c485 100644 (file)
@@ -286,7 +286,7 @@ __poll_t ptp_poll(struct posix_clock *pc, struct file *fp, poll_table *wait)
 
        poll_wait(fp, &ptp->tsev_wq, wait);
 
-       return queue_cnt(&ptp->tsevq) ? POLLIN : 0;
+       return queue_cnt(&ptp->tsevq) ? EPOLLIN : 0;
 }
 
 #define EXTTS_BUFSIZE (PTP_BUF_TIMESTAMPS * sizeof(struct ptp_extts_event))