lx_emul: remove forward declaration in clocksource

This commit is contained in:
Christian Helmuth 2022-04-13 15:16:35 +02:00
parent 25eb24299c
commit b66650c2e8

View File

@ -133,6 +133,12 @@ void lx_emul_register_of_clk_initcall(char const *compat, void *fn)
}
/*
* private kernel/time header needed for internal functions
* used in lx_emul_force_jiffies_update
*/
#include <../kernel/time/tick-internal.h>
/*
* The functions lx_emul_force_jiffies_update, lx_clockevents_program_event
* and lx_clockevents_program_event implemented here are stripped down
@ -154,11 +160,6 @@ void lx_emul_register_of_clk_initcall(char const *compat, void *fn)
*/
/* kernel/time/timekeeping.h */
extern int timekeeping_valid_for_hres(void);
extern void do_timer(unsigned long ticks);
/**
* based on kernel/time/clockevents.c clockevents_program_event()
*/
@ -188,12 +189,6 @@ static int lx_clockevents_program_event(struct clock_event_device *dev,
}
/*
* private kernel/time header needed for internal functions
* used in lx_emul_force_jiffies_update
*/
#include <../kernel/time/tick-internal.h>
/**
* based on kernel/time/tick-common.c tick_handle_periodic()
*/