summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r--drivers/gpio/gpiolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 14532d9576e4..5d6e8bb38ac7 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -604,11 +604,11 @@ struct lineevent_state {
604 (GPIOEVENT_REQUEST_RISING_EDGE | \ 604 (GPIOEVENT_REQUEST_RISING_EDGE | \
605 GPIOEVENT_REQUEST_FALLING_EDGE) 605 GPIOEVENT_REQUEST_FALLING_EDGE)
606 606
607static unsigned int lineevent_poll(struct file *filep, 607static __poll_t lineevent_poll(struct file *filep,
608 struct poll_table_struct *wait) 608 struct poll_table_struct *wait)
609{ 609{
610 struct lineevent_state *le = filep->private_data; 610 struct lineevent_state *le = filep->private_data;
611 unsigned int events = 0; 611 __poll_t events = 0;
612 612
613 poll_wait(filep, &le->wait, wait); 613 poll_wait(filep, &le->wait, wait);
614 614