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__ */