mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
media: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -272,10 +272,10 @@ int lirc_dev_fop_close(struct inode *inode, struct file *file)
|
||||
}
|
||||
EXPORT_SYMBOL(lirc_dev_fop_close);
|
||||
|
||||
unsigned int lirc_dev_fop_poll(struct file *file, poll_table *wait)
|
||||
__poll_t lirc_dev_fop_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct lirc_dev *d = file->private_data;
|
||||
unsigned int ret;
|
||||
__poll_t ret;
|
||||
|
||||
if (!d->attached)
|
||||
return POLLHUP | POLLERR;
|
||||
|
||||
Reference in New Issue
Block a user