diff options
Diffstat (limited to 'drivers/char/ppdev.c')
-rw-r--r-- | drivers/char/ppdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c index d256110ba672..7a56d1a13ec3 100644 --- a/drivers/char/ppdev.c +++ b/drivers/char/ppdev.c | |||
@@ -769,10 +769,10 @@ static int pp_release(struct inode *inode, struct file *file) | |||
769 | } | 769 | } |
770 | 770 | ||
771 | /* No kernel lock held - fine */ | 771 | /* No kernel lock held - fine */ |
772 | static unsigned int pp_poll(struct file *file, poll_table *wait) | 772 | static __poll_t pp_poll(struct file *file, poll_table *wait) |
773 | { | 773 | { |
774 | struct pp_struct *pp = file->private_data; | 774 | struct pp_struct *pp = file->private_data; |
775 | unsigned int mask = 0; | 775 | __poll_t mask = 0; |
776 | 776 | ||
777 | poll_wait(file, &pp->irq_wait, wait); | 777 | poll_wait(file, &pp->irq_wait, wait); |
778 | if (atomic_read(&pp->irqc)) | 778 | if (atomic_read(&pp->irqc)) |