[PATCH] x86: Add function prototype for setup_default_timer_irq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux