mirror of
https://github.com/torvalds/linux
synced 2024-10-08 20:34:15 +00:00
acpi: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
38544bfff2
commit
0d9b87f3ba
|
@ -718,9 +718,9 @@ static ssize_t acpi_aml_write(struct file *file, const char __user *buf,
|
|||
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())
|
||||
|
|
Loading…
Reference in a new issue