Merge branch 'for-4.19/cougar' into for-linus
[linux-2.6-microblaze.git] / drivers / rtc / rtc-dev.c
index 5a7b30d..efa221e 100644 (file)
@@ -203,7 +203,7 @@ static __poll_t rtc_dev_poll(struct file *file, poll_table *wait)
 
        data = rtc->irq_data;
 
-       return (data != 0) ? (POLLIN | POLLRDNORM) : 0;
+       return (data != 0) ? (EPOLLIN | EPOLLRDNORM) : 0;
 }
 
 static long rtc_dev_ioctl(struct file *file,