mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-15 07:22:48 -05:00
acpi: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user