lkml.org 
[lkml]   [2004]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] x8664 hpet: fix function warning

put function prototype outside of #ifdef block, to fix:
arch/x86_64/kernel/time.c:941: warning: implicit declaration of
function `oem_force_hpet_timer'

diffstat:=
include/asm-x86_64/hpet.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
--

diff -Naurp ./include/asm-x86_64/hpet.h~hpet_force ./include/asm-x86_64/hpet.h
--- ./include/asm-x86_64/hpet.h~hpet_force 2004-11-15 10:02:01.442748048 -0800
+++ ./include/asm-x86_64/hpet.h 2004-11-15 10:51:53.284918904 -0800
@@ -46,6 +46,7 @@

extern int is_hpet_enabled(void);
extern int hpet_rtc_timer_init(void);
+extern int oem_force_hpet_timer(void);

#ifdef CONFIG_HPET_EMULATE_RTC
extern int hpet_mask_rtc_irq_bit(unsigned long bit_mask);
@@ -54,7 +55,6 @@ extern int hpet_set_alarm_time(unsigned
extern int hpet_set_periodic_freq(unsigned long freq);
extern int hpet_rtc_dropped_irq(void);
extern int hpet_rtc_timer_init(void);
-extern int oem_force_hpet_timer(void);
#endif /* CONFIG_HPET_EMULATE_RTC */

#endif
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:3.190 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site