diff options
Diffstat (limited to 'drivers/hid/hid-debug.c')
-rw-r--r-- | drivers/hid/hid-debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index c783fd5ef809..4f4e7a08a07b 100644 --- a/drivers/hid/hid-debug.c +++ b/drivers/hid/hid-debug.c | |||
@@ -1185,9 +1185,9 @@ static __poll_t hid_debug_events_poll(struct file *file, poll_table *wait) | |||
1185 | 1185 | ||
1186 | poll_wait(file, &list->hdev->debug_wait, wait); | 1186 | poll_wait(file, &list->hdev->debug_wait, wait); |
1187 | if (list->head != list->tail) | 1187 | if (list->head != list->tail) |
1188 | return POLLIN | POLLRDNORM; | 1188 | return EPOLLIN | EPOLLRDNORM; |
1189 | if (!list->hdev->debug) | 1189 | if (!list->hdev->debug) |
1190 | return POLLERR | POLLHUP; | 1190 | return EPOLLERR | EPOLLHUP; |
1191 | return 0; | 1191 | return 0; |
1192 | } | 1192 | } |
1193 | 1193 | ||