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/char/rtc.c | |
parent | c23e0cb81e4021b9712b1093d54713991fd9b7c2 (diff) |
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/char/rtc.c')
-rw-r--r-- | drivers/char/rtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c index 5542a438bbd0..c6a317120a55 100644 --- a/drivers/char/rtc.c +++ b/drivers/char/rtc.c | |||
@@ -147,7 +147,7 @@ static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg); | |||
147 | static void rtc_get_rtc_time(struct rtc_time *rtc_tm); | 147 | static void rtc_get_rtc_time(struct rtc_time *rtc_tm); |
148 | 148 | ||
149 | #ifdef RTC_IRQ | 149 | #ifdef RTC_IRQ |
150 | static unsigned int rtc_poll(struct file *file, poll_table *wait); | 150 | static __poll_t rtc_poll(struct file *file, poll_table *wait); |
151 | #endif | 151 | #endif |
152 | 152 | ||
153 | static void get_rtc_alm_time(struct rtc_time *alm_tm); | 153 | static void get_rtc_alm_time(struct rtc_time *alm_tm); |
@@ -790,7 +790,7 @@ no_irq: | |||
790 | } | 790 | } |
791 | 791 | ||
792 | #ifdef RTC_IRQ | 792 | #ifdef RTC_IRQ |
793 | static unsigned int rtc_poll(struct file *file, poll_table *wait) | 793 | static __poll_t rtc_poll(struct file *file, poll_table *wait) |
794 | { | 794 | { |
795 | unsigned long l; | 795 | unsigned long l; |
796 | 796 | ||