Преглед на файлове

um: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro преди 8 години
родител
ревизия
76d2d4a11b
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      arch/um/drivers/hostaudio_kern.c

+ 3 - 3
arch/um/drivers/hostaudio_kern.c

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