summaryrefslogtreecommitdiffstats
path: root/drivers/input/mousedev.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 06:39:46 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-28 11:06:58 -0500
commitafc9a42b7464f76e1388cad87d8543c69f6f74ed (patch)
treeabc3abe50053edd3dcf0b04c2d2a63640ee89f6b /drivers/input/mousedev.c
parentc23e0cb81e4021b9712b1093d54713991fd9b7c2 (diff)
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/input/mousedev.c')
-rw-r--r--drivers/input/mousedev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
index 2d7f691ec71c..731d84ae5101 100644
--- a/drivers/input/mousedev.c
+++ b/drivers/input/mousedev.c
@@ -757,11 +757,11 @@ static ssize_t mousedev_read(struct file *file, char __user *buffer,
757} 757}
758 758
759/* No kernel lock - fine */ 759/* No kernel lock - fine */
760static unsigned int mousedev_poll(struct file *file, poll_table *wait) 760static __poll_t mousedev_poll(struct file *file, poll_table *wait)
761{ 761{
762 struct mousedev_client *client = file->private_data; 762 struct mousedev_client *client = file->private_data;
763 struct mousedev *mousedev = client->mousedev; 763 struct mousedev *mousedev = client->mousedev;
764 unsigned int mask; 764 __poll_t mask;
765 765
766 poll_wait(file, &mousedev->wait, wait); 766 poll_wait(file, &mousedev->wait, wait);
767 767