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:
parent
14bc214f53
commit
9f4cb5aba1
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user