From: Jan Kiszka <jan.kis...@siemens.com> We don't have access to the kernel's curr_clocksource variable, so just make a general statement.
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- include/cobalt/kernel/dovetail/pipeline/clock.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/cobalt/kernel/dovetail/pipeline/clock.h b/include/cobalt/kernel/dovetail/pipeline/clock.h index d8c94ab435..cdb0dac4fe 100644 --- a/include/cobalt/kernel/dovetail/pipeline/clock.h +++ b/include/cobalt/kernel/dovetail/pipeline/clock.h @@ -40,10 +40,7 @@ const char *pipeline_timer_name(void); static inline const char *pipeline_clock_name(void) { - /* Return the name of the current clock source. */ - TODO(); - - return "?"; + return "<Linux clocksource>"; } static inline int pipeline_get_host_time(struct timespec64 *tp) -- 2.31.1