diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 06:39:46 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-28 11:06:58 -0500 |
| commit | afc9a42b7464f76e1388cad87d8543c69f6f74ed (patch) | |
| tree | abc3abe50053edd3dcf0b04c2d2a63640ee89f6b /drivers/isdn/i4l | |
| parent | c23e0cb81e4021b9712b1093d54713991fd9b7c2 (diff) | |
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/isdn/i4l')
| -rw-r--r-- | drivers/isdn/i4l/isdn_common.c | 4 | ||||
| -rw-r--r-- | drivers/isdn/i4l/isdn_ppp.c | 4 | ||||
| -rw-r--r-- | drivers/isdn/i4l/isdn_ppp.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/isdn_common.c index 8b03d618185e..0521c32949d4 100644 --- a/drivers/isdn/i4l/isdn_common.c +++ b/drivers/isdn/i4l/isdn_common.c | |||
| @@ -1227,10 +1227,10 @@ out: | |||
| 1227 | return retval; | 1227 | return retval; |
| 1228 | } | 1228 | } |
| 1229 | 1229 | ||
| 1230 | static unsigned int | 1230 | static __poll_t |
| 1231 | isdn_poll(struct file *file, poll_table *wait) | 1231 | isdn_poll(struct file *file, poll_table *wait) |
| 1232 | { | 1232 | { |
| 1233 | unsigned int mask = 0; | 1233 | __poll_t mask = 0; |
| 1234 | unsigned int minor = iminor(file_inode(file)); | 1234 | unsigned int minor = iminor(file_inode(file)); |
| 1235 | int drvidx = isdn_minor2drv(minor - ISDN_MINOR_CTRL); | 1235 | int drvidx = isdn_minor2drv(minor - ISDN_MINOR_CTRL); |
| 1236 | 1236 | ||
diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c index e07aefb9151d..57884319b4b1 100644 --- a/drivers/isdn/i4l/isdn_ppp.c +++ b/drivers/isdn/i4l/isdn_ppp.c | |||
| @@ -685,10 +685,10 @@ isdn_ppp_ioctl(int min, struct file *file, unsigned int cmd, unsigned long arg) | |||
| 685 | return 0; | 685 | return 0; |
| 686 | } | 686 | } |
| 687 | 687 | ||
| 688 | unsigned int | 688 | __poll_t |
| 689 | isdn_ppp_poll(struct file *file, poll_table *wait) | 689 | isdn_ppp_poll(struct file *file, poll_table *wait) |
| 690 | { | 690 | { |
| 691 | u_int mask; | 691 | __poll_t mask; |
| 692 | struct ippp_buf_queue *bf, *bl; | 692 | struct ippp_buf_queue *bf, *bl; |
| 693 | u_long flags; | 693 | u_long flags; |
| 694 | struct ippp_struct *is; | 694 | struct ippp_struct *is; |
diff --git a/drivers/isdn/i4l/isdn_ppp.h b/drivers/isdn/i4l/isdn_ppp.h index 4e9b8935a4eb..34b8a2ce84f3 100644 --- a/drivers/isdn/i4l/isdn_ppp.h +++ b/drivers/isdn/i4l/isdn_ppp.h | |||
| @@ -23,7 +23,7 @@ extern int isdn_ppp_autodial_filter(struct sk_buff *, isdn_net_local *); | |||
| 23 | extern int isdn_ppp_xmit(struct sk_buff *, struct net_device *); | 23 | extern int isdn_ppp_xmit(struct sk_buff *, struct net_device *); |
| 24 | extern void isdn_ppp_receive(isdn_net_dev *, isdn_net_local *, struct sk_buff *); | 24 | extern void isdn_ppp_receive(isdn_net_dev *, isdn_net_local *, struct sk_buff *); |
| 25 | extern int isdn_ppp_dev_ioctl(struct net_device *, struct ifreq *, int); | 25 | extern int isdn_ppp_dev_ioctl(struct net_device *, struct ifreq *, int); |
| 26 | extern unsigned int isdn_ppp_poll(struct file *, struct poll_table_struct *); | 26 | extern __poll_t isdn_ppp_poll(struct file *, struct poll_table_struct *); |
| 27 | extern int isdn_ppp_ioctl(int, struct file *, unsigned int, unsigned long); | 27 | extern int isdn_ppp_ioctl(int, struct file *, unsigned int, unsigned long); |
| 28 | extern void isdn_ppp_release(int, struct file *); | 28 | extern void isdn_ppp_release(int, struct file *); |
| 29 | extern int isdn_ppp_dial_slave(char *); | 29 | extern int isdn_ppp_dial_slave(char *); |
