public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: lkml <linux-kernel@vger.kernel.org>, ak@suse.de, discuss@x86-64.org
Subject: [PATCH] x8664 hpet: fix function warning
Date: Mon, 15 Nov 2004 11:42:51 -0800	[thread overview]
Message-ID: <419906BB.9080405@osdl.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]


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>
-- 


[-- Attachment #2: hpet_force.patch --]
[-- Type: text/x-patch, Size: 736 bytes --]

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


             reply	other threads:[~2004-11-15 20:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 19:42 Randy.Dunlap [this message]
2004-11-15 22:14 ` [discuss] [PATCH] x8664 hpet: fix function warning Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=419906BB.9080405@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=ak@suse.de \
    --cc=discuss@x86-64.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox