um: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2017-07-02 22:59:49 -04:00
parent 8153a5ead0
commit 76d2d4a11b

View File

@ -119,10 +119,10 @@ static ssize_t hostaudio_write(struct file *file, const char __user *buffer,
return err; return err;
} }
static unsigned int hostaudio_poll(struct file *file, static __poll_t hostaudio_poll(struct file *file,
struct poll_table_struct *wait) struct poll_table_struct *wait)
{ {
unsigned int mask = 0; __poll_t mask = 0;
#ifdef DEBUG #ifdef DEBUG
printk(KERN_DEBUG "hostaudio: poll called (unimplemented)\n"); printk(KERN_DEBUG "hostaudio: poll called (unimplemented)\n");