From 9f4cb5aba1172657968508e7da3e3793e2aeecb6 Mon Sep 17 00:00:00 2001 From: Shreyas K K Date: Tue, 6 Apr 2021 19:10:15 +0530 Subject: [PATCH] drivers: qcom: Add declaration of msm_timer_get_sclk_ticks Add declaration of msm_timer_get_sclk_ticks to boot_stats.h to allow reference from other files. Change-Id: I4f1980cf03c362474babde270d4656eeb1593993 Signed-off-by: Shreyas K K --- include/soc/qcom/boot_stats.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/soc/qcom/boot_stats.h b/include/soc/qcom/boot_stats.h index b2a60c295327..ac5c73f0992c 100644 --- a/include/soc/qcom/boot_stats.h +++ b/include/soc/qcom/boot_stats.h @@ -7,6 +7,7 @@ #ifdef CONFIG_MSM_BOOT_TIME_MARKER void place_marker(const char *name); void destroy_marker(const char *name); +unsigned long long msm_timer_get_sclk_ticks(void); static inline int boot_marker_enabled(void) { return 1; } #else static inline int init_bootkpi(void) { return 0; } @@ -14,5 +15,6 @@ static inline void exit_bootkpi(void) { }; static inline void place_marker(char *name) { }; static inline void destroy_marker(const char *name) { }; static inline int boot_marker_enabled(void) { return 0; } +static inline unsigned long long msm_timer_get_sclk_ticks(void) { return -EINVAL; } #endif #endif /* __QCOM_BOOT_STATS_H__ */