summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 05:05:29 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 22:20:02 +0100
commit0d9b87f3ba71eef698ea69ef111b8ba35af8b318 (patch)
tree4a48ab447a1f6e6516b38af9b998be04f7cbe6c4 /drivers/acpi
parentcrypto: annotate ->poll() instances (diff)
downloadlinux-0d9b87f3ba71eef698ea69ef111b8ba35af8b318.tar.xz
linux-0d9b87f3ba71eef698ea69ef111b8ba35af8b318.zip
acpi: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpi_dbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpi_dbg.c b/drivers/acpi/acpi_dbg.c
index 3ec05aa1a903..2ff5c8c04e3b 100644
--- a/drivers/acpi/acpi_dbg.c
+++ b/drivers/acpi/acpi_dbg.c
@@ -718,9 +718,9 @@ again:
return size > 0 ? size : ret;
}
-static unsigned int acpi_aml_poll(struct file *file, poll_table *wait)
+static __poll_t acpi_aml_poll(struct file *file, poll_table *wait)
{
- int masks = 0;
+ __poll_t masks = 0;
poll_wait(file, &acpi_aml_io.wait, wait);
if (acpi_aml_user_readable())