kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86: Add function prototype for setup_default_timer_irq
@ 2014-03-27 15:19 Luis Ortega
  2014-03-31  7:21 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Luis Ortega @ 2014-03-27 15:19 UTC (permalink / raw)
  To: kernel-janitors

This eliminates the following warning in arch/x86/kernel/time.c:
arch/x86/kernel/time.c:69:13: warning: no previous prototype for ‘setup_default_timer_irq’ [-Wmissing-prototypes]

Signed-off-by: Luis Ortega <luiorpe1@gmail.com>
---
 arch/x86/include/asm/time.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/include/asm/time.h b/arch/x86/include/asm/time.h
index 92b8aec..935ceb6 100644
--- a/arch/x86/include/asm/time.h
+++ b/arch/x86/include/asm/time.h
@@ -4,6 +4,7 @@
 #include <linux/clocksource.h>
 #include <asm/mc146818rtc.h>

+extern void setup_default_timer_irq(void);
 extern void hpet_time_init(void);
 extern void time_init(void);

--
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86: Add function prototype for setup_default_timer_irq
  2014-03-27 15:19 [PATCH] x86: Add function prototype for setup_default_timer_irq Luis Ortega
@ 2014-03-31  7:21 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2014-03-31  7:21 UTC (permalink / raw)
  To: kernel-janitors


* Luis Ortega <luiorpe1@gmail.com> wrote:

> This eliminates the following warning in arch/x86/kernel/time.c:
> arch/x86/kernel/time.c:69:13: warning: no previous prototype for ‘setup_default_timer_irq’ [-Wmissing-prototypes]
> 
> Signed-off-by: Luis Ortega <luiorpe1@gmail.com>
> ---
>  arch/x86/include/asm/time.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/x86/include/asm/time.h b/arch/x86/include/asm/time.h
> index 92b8aec..935ceb6 100644
> --- a/arch/x86/include/asm/time.h
> +++ b/arch/x86/include/asm/time.h
> @@ -4,6 +4,7 @@
>  #include <linux/clocksource.h>
>  #include <asm/mc146818rtc.h>
> 
> +extern void setup_default_timer_irq(void);
>  extern void hpet_time_init(void);
>  extern void time_init(void);

Hm, there's already a prototype for that function, in 
arch/x86/include/asm/setup.h.

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-31  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27 15:19 [PATCH] x86: Add function prototype for setup_default_timer_irq Luis Ortega
2014-03-31  7:21 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).