Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-block.git] / drivers / usb / gadget / function / f_fs.c
index b6cf5ab5a0a135bb36e09de7b96e13645caa1abe..b540935891afc01f706e28c5b545c4743197cafe 100644 (file)
@@ -638,10 +638,10 @@ static long ffs_ep0_ioctl(struct file *file, unsigned code, unsigned long value)
        return ret;
 }
 
-static unsigned int ffs_ep0_poll(struct file *file, poll_table *wait)
+static __poll_t ffs_ep0_poll(struct file *file, poll_table *wait)
 {
        struct ffs_data *ffs = file->private_data;
-       unsigned int mask = POLLWRNORM;
+       __poll_t mask = POLLWRNORM;
        int ret;
 
        poll_wait(file, &ffs->ev.waitq, wait);