diff options
Diffstat (limited to 'drivers/input/serio/userio.c')
-rw-r--r-- | drivers/input/serio/userio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/serio/userio.c b/drivers/input/serio/userio.c index df1fd41860ac..9ab5c45c3a9f 100644 --- a/drivers/input/serio/userio.c +++ b/drivers/input/serio/userio.c @@ -248,14 +248,14 @@ out: return error ?: count; } -static unsigned int userio_char_poll(struct file *file, poll_table *wait) +static __poll_t userio_char_poll(struct file *file, poll_table *wait) { struct userio_device *userio = file->private_data; poll_wait(file, &userio->waitq, wait); if (userio->head != userio->tail) - return POLLIN | POLLRDNORM; + return EPOLLIN | EPOLLRDNORM; return 0; } |