]> err.no Git - linux-2.6/commit
rtc: remove and clarify unneeded externs
authorCarlos R. Mafra <crmafra@ift.unesp.br>
Thu, 24 Jul 2008 04:30:40 +0000 (21:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:34 +0000 (10:47 -0700)
commitc68d07b2da54c941bb36c9d6d35fe8f263ee10ef
tree13a84b5e2928c67753734e4f79e55a1d12dd74a3
parent02bb584f3b1cfc8188522a4d2c8881b65073a4f1
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>
drivers/char/rtc.c
drivers/rtc/rtc-cmos.c