x86: Add function prototype for setup_default_timer_irq
Subsystems (2)
PATCH 1/1 x86: Add function prototype for setup_default_timer_irq
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 <[email protected]>
--- arch/x86/include/asm/time.h | 1 + 1 file changed, 1 insertion(+)
arch/x86/include/asm/time.h +1 -0
@@ -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
Quoted 13 lines · Luis Ortega
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 <[email protected]>--- arch/x86/include/asm/time.h | 1 + 1 file changed, 1 insertion(+)arch/x86/include/asm/time.h +0
-0
arch/x86/include/asm/time.h line 9
Quoted 6 lines
arch/x86/include/asm/time.h +1
-0@@ -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