summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/userio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/serio/userio.c')
-rw-r--r--drivers/input/serio/userio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/userio.c b/drivers/input/serio/userio.c
index a63de06b08bc..9ab5c45c3a9f 100644
--- a/drivers/input/serio/userio.c
+++ b/drivers/input/serio/userio.c
@@ -255,7 +255,7 @@ static __poll_t userio_char_poll(struct file *file, poll_table *wait)
poll_wait(file, &userio->waitq, wait);
if (userio->head != userio->tail)
- return POLLIN | POLLRDNORM;
+ return EPOLLIN | EPOLLRDNORM;
return 0;
}