mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
[PATCH] rtc warning fix
drivers/char/rtc.c:116: warning: 'hpet_rtc_interrupt' defined but not used Cc: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
92a3d03aab
commit
533ffc289d
@ -113,7 +113,12 @@ static int rtc_has_irq = 1;
|
||||
#define hpet_set_rtc_irq_bit(arg) 0
|
||||
#define hpet_rtc_timer_init() do { } while (0)
|
||||
#define hpet_rtc_dropped_irq() 0
|
||||
static irqreturn_t hpet_rtc_interrupt(int irq, void *dev_id) {return 0;}
|
||||
#ifdef RTC_IRQ
|
||||
static irqreturn_t hpet_rtc_interrupt(int irq, void *dev_id)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
extern irqreturn_t hpet_rtc_interrupt(int irq, void *dev_id);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user