aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core/devices.c')
-rw-r--r--drivers/usb/core/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/devices.c b/drivers/usb/core/devices.c
index e2cec448779e..3de3c750b5f6 100644
--- a/drivers/usb/core/devices.c
+++ b/drivers/usb/core/devices.c
@@ -632,7 +632,7 @@ static __poll_t usb_device_poll(struct file *file,
632 event_count = atomic_read(&device_event.count); 632 event_count = atomic_read(&device_event.count);
633 if (file->f_version != event_count) { 633 if (file->f_version != event_count) {
634 file->f_version = event_count; 634 file->f_version = event_count;
635 return POLLIN | POLLRDNORM; 635 return EPOLLIN | EPOLLRDNORM;
636 } 636 }
637 637
638 return 0; 638 return 0;