mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
rtc: simplify rtc_irq_set_state/rtc_irq_set_freq
The PIE doesn't handle tasks anymore, remove the pointer from the interface. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
acecb3ad8b
commit
8719d3c918
3 changed files with 8 additions and 10 deletions
|
@ -202,10 +202,8 @@ extern void rtc_update_irq(struct rtc_device *rtc,
|
|||
extern struct rtc_device *rtc_class_open(const char *name);
|
||||
extern void rtc_class_close(struct rtc_device *rtc);
|
||||
|
||||
extern int rtc_irq_set_state(struct rtc_device *rtc,
|
||||
struct rtc_task *task, int enabled);
|
||||
extern int rtc_irq_set_freq(struct rtc_device *rtc,
|
||||
struct rtc_task *task, int freq);
|
||||
extern int rtc_irq_set_state(struct rtc_device *rtc, int enabled);
|
||||
extern int rtc_irq_set_freq(struct rtc_device *rtc, int freq);
|
||||
extern int rtc_update_irq_enable(struct rtc_device *rtc, unsigned int enabled);
|
||||
extern int rtc_alarm_irq_enable(struct rtc_device *rtc, unsigned int enabled);
|
||||
extern int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue