summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/smu.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/macintosh/smu.c
parentc23e0cb81e4021b9712b1093d54713991fd9b7c2 (diff)
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/macintosh/smu.c')
-rw-r--r--drivers/macintosh/smu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c
index 899ec1f4c833..346e6f5f77be 100644
--- a/drivers/macintosh/smu.c
+++ b/drivers/macintosh/smu.c
@@ -1245,10 +1245,10 @@ static ssize_t smu_read(struct file *file, char __user *buf,
1245 return -EBADFD; 1245 return -EBADFD;
1246} 1246}
1247 1247
1248static unsigned int smu_fpoll(struct file *file, poll_table *wait) 1248static __poll_t smu_fpoll(struct file *file, poll_table *wait)
1249{ 1249{
1250 struct smu_private *pp = file->private_data; 1250 struct smu_private *pp = file->private_data;
1251 unsigned int mask = 0; 1251 __poll_t mask = 0;
1252 unsigned long flags; 1252 unsigned long flags;
1253 1253
1254 if (pp == 0) 1254 if (pp == 0)