diff options
author | Carlos R. Mafra <crmafra@ift.unesp.br> | 2008-07-23 21:30:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 10:47:34 -0700 |
commit | c68d07b2da54c941bb36c9d6d35fe8f263ee10ef (patch) | |
tree | 13a84b5e2928c67753734e4f79e55a1d12dd74a3 /drivers/char/rtc.c | |
parent | 02bb584f3b1cfc8188522a4d2c8881b65073a4f1 (diff) | |
download | kernel_samsung_espresso10-c68d07b2da54c941bb36c9d6d35fe8f263ee10ef.zip kernel_samsung_espresso10-c68d07b2da54c941bb36c9d6d35fe8f263ee10ef.tar.gz kernel_samsung_espresso10-c68d07b2da54c941bb36c9d6d35fe8f263ee10ef.tar.bz2 |
rtc: remove and clarify unneeded externs
When CONFIG_HPET_EMULATE_RTC is defined the external declaration of
hpet_rtc_interrupt is redundant due to the inclusion of hpet.h.
When !CONFIG_HPET_EMULATE_RTC we make it clear that hpet_rtc_interrupt is
not used by defining it to return zero.
Signed-off-by: Carlos R. Mafra <crmafra@ift.unesp.br>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/rtc.c')
-rw-r--r-- | drivers/char/rtc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c index d1569a0..dbefbb3 100644 --- a/drivers/char/rtc.c +++ b/drivers/char/rtc.c @@ -121,8 +121,6 @@ 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 /* |