diff options
Diffstat (limited to 'drivers/char/sonypi.c')
-rw-r--r-- | drivers/char/sonypi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index d3a979e25724..fc041c462aa4 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c | |||
@@ -940,7 +940,7 @@ static ssize_t sonypi_misc_read(struct file *file, char __user *buf, | |||
940 | return ret; | 940 | return ret; |
941 | } | 941 | } |
942 | 942 | ||
943 | static unsigned int sonypi_misc_poll(struct file *file, poll_table *wait) | 943 | static __poll_t sonypi_misc_poll(struct file *file, poll_table *wait) |
944 | { | 944 | { |
945 | poll_wait(file, &sonypi_device.fifo_proc_list, wait); | 945 | poll_wait(file, &sonypi_device.fifo_proc_list, wait); |
946 | if (kfifo_len(&sonypi_device.fifo)) | 946 | if (kfifo_len(&sonypi_device.fifo)) |