diff options
Diffstat (limited to 'drivers/usb/core/devio.c')
| -rw-r--r-- | drivers/usb/core/devio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 705c573d0257..929a7380be66 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c | |||
| @@ -2568,11 +2568,11 @@ static long usbdev_compat_ioctl(struct file *file, unsigned int cmd, | |||
| 2568 | #endif | 2568 | #endif |
| 2569 | 2569 | ||
| 2570 | /* No kernel lock - fine */ | 2570 | /* No kernel lock - fine */ |
| 2571 | static unsigned int usbdev_poll(struct file *file, | 2571 | static __poll_t usbdev_poll(struct file *file, |
| 2572 | struct poll_table_struct *wait) | 2572 | struct poll_table_struct *wait) |
| 2573 | { | 2573 | { |
| 2574 | struct usb_dev_state *ps = file->private_data; | 2574 | struct usb_dev_state *ps = file->private_data; |
| 2575 | unsigned int mask = 0; | 2575 | __poll_t mask = 0; |
| 2576 | 2576 | ||
| 2577 | poll_wait(file, &ps->wait, wait); | 2577 | poll_wait(file, &ps->wait, wait); |
| 2578 | if (file->f_mode & FMODE_WRITE && !list_empty(&ps->async_completed)) | 2578 | if (file->f_mode & FMODE_WRITE && !list_empty(&ps->async_completed)) |
