Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f4cb5ab authored by Shreyas K K's avatar Shreyas K K
Browse files

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: default avatarShreyas K K <shrekk@codeaurora.org>
parent 14bc214f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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__ */