diff options
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 | ||