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 <shrekk@codeaurora.org>
This commit is contained in:
Shreyas K K 2021-04-06 19:10:15 +05:30
parent 14bc214f53
commit 9f4cb5aba1

View File

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