Merge tag 'media/v4.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[linux-2.6-microblaze.git] / drivers / media / usb / hdpvr / hdpvr-video.c
index 5e5f63f..660d4a6 100644 (file)
@@ -521,12 +521,12 @@ err:
        return ret;
 }
 
-static unsigned int hdpvr_poll(struct file *filp, poll_table *wait)
+static __poll_t hdpvr_poll(struct file *filp, poll_table *wait)
 {
-       unsigned long req_events = poll_requested_events(wait);
+       __poll_t req_events = poll_requested_events(wait);
        struct hdpvr_buffer *buf = NULL;
        struct hdpvr_device *dev = video_drvdata(filp);
-       unsigned int mask = v4l2_ctrl_poll(filp, wait);
+       __poll_t mask = v4l2_ctrl_poll(filp, wait);
 
        if (!(req_events & (POLLIN | POLLRDNORM)))
                return mask;