diff options
Diffstat (limited to 'include/asm-x86/hpet.h')
-rw-r--r-- | include/asm-x86/hpet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/hpet.h b/include/asm-x86/hpet.h index 624f600f7161..6a9b4ac59bf7 100644 --- a/include/asm-x86/hpet.h +++ b/include/asm-x86/hpet.h | |||
@@ -69,6 +69,7 @@ extern void force_hpet_resume(void); | |||
69 | 69 | ||
70 | #include <linux/interrupt.h> | 70 | #include <linux/interrupt.h> |
71 | 71 | ||
72 | typedef irqreturn_t (*rtc_irq_handler)(int interrupt, void *cookie); | ||
72 | extern int hpet_mask_rtc_irq_bit(unsigned long bit_mask); | 73 | extern int hpet_mask_rtc_irq_bit(unsigned long bit_mask); |
73 | extern int hpet_set_rtc_irq_bit(unsigned long bit_mask); | 74 | extern int hpet_set_rtc_irq_bit(unsigned long bit_mask); |
74 | extern int hpet_set_alarm_time(unsigned char hrs, unsigned char min, | 75 | extern int hpet_set_alarm_time(unsigned char hrs, unsigned char min, |
@@ -77,6 +78,8 @@ extern int hpet_set_periodic_freq(unsigned long freq); | |||
77 | extern int hpet_rtc_dropped_irq(void); | 78 | extern int hpet_rtc_dropped_irq(void); |
78 | extern int hpet_rtc_timer_init(void); | 79 | extern int hpet_rtc_timer_init(void); |
79 | extern irqreturn_t hpet_rtc_interrupt(int irq, void *dev_id); | 80 | extern irqreturn_t hpet_rtc_interrupt(int irq, void *dev_id); |
81 | extern int hpet_register_irq_handler(rtc_irq_handler handler); | ||
82 | extern void hpet_unregister_irq_handler(rtc_irq_handler handler); | ||
80 | 83 | ||
81 | #endif /* CONFIG_HPET_EMULATE_RTC */ | 84 | #endif /* CONFIG_HPET_EMULATE_RTC */ |
82 | 85 | ||