From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Date: Mon, 31 Mar 2014 07:21:26 +0000 Subject: Re: [PATCH] x86: Add function prototype for setup_default_timer_irq Message-Id: <20140331072126.GA1819@gmail.com> List-Id: References: <1395937030-2210-1-git-send-email-luiorpe1@gmail.com> In-Reply-To: <1395937030-2210-1-git-send-email-luiorpe1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: kernel-janitors@vger.kernel.org * Luis Ortega 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 > --- > 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 > #include > > +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