summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/smu.c
diff options
context:
space:
mode:
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)