diff options
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r-- | drivers/gpio/gpiolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index aad84a6306c4..46824c486e1e 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c | |||
@@ -603,11 +603,11 @@ struct lineevent_state { | |||
603 | (GPIOEVENT_REQUEST_RISING_EDGE | \ | 603 | (GPIOEVENT_REQUEST_RISING_EDGE | \ |
604 | GPIOEVENT_REQUEST_FALLING_EDGE) | 604 | GPIOEVENT_REQUEST_FALLING_EDGE) |
605 | 605 | ||
606 | static unsigned int lineevent_poll(struct file *filep, | 606 | static __poll_t lineevent_poll(struct file *filep, |
607 | struct poll_table_struct *wait) | 607 | struct poll_table_struct *wait) |
608 | { | 608 | { |
609 | struct lineevent_state *le = filep->private_data; | 609 | struct lineevent_state *le = filep->private_data; |
610 | unsigned int events = 0; | 610 | __poll_t events = 0; |
611 | 611 | ||
612 | poll_wait(filep, &le->wait, wait); | 612 | poll_wait(filep, &le->wait, wait); |
613 | 613 | ||