X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fhid%2Fhid-debug.c;h=4f4e7a08a07be5c0a37c129905e89d4e03aa10e0;hb=4e6a62b6a01d5c9aae4ec892a5f0be3b8ab16c36;hp=c783fd5ef80961fce106e9f3a1cdc123978bc8a7;hpb=d76e0a050e0f5e7c00e6d334f758178bbc16eb98;p=linux-2.6-microblaze.git 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) poll_wait(file, &list->hdev->debug_wait, wait); if (list->head != list->tail) - return POLLIN | POLLRDNORM; + return EPOLLIN | EPOLLRDNORM; if (!list->hdev->debug) - return POLLERR | POLLHUP; + return EPOLLERR | EPOLLHUP; return 0; }