soc: qcom: boot_stats: Fix compilation issue

Fix the multiple definition issue of msm_timer_get_sclk_ticks
when CONFIG_MSM_BOOT_STATS is disabled.

Change-Id: Id2c263c48cec038be4354894fa57b203a5f764c6
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
This commit is contained in:
Zhiqiang Tu 2018-05-30 16:51:56 +08:00
parent 5cb5749cd7
commit e54fbdbc40

View file

@ -33,7 +33,10 @@ int boot_stats_exit(void);
unsigned long long int msm_timer_get_sclk_ticks(void);
#else
static inline int boot_stats_init(void) { return 0; }
unsigned long long int msm_timer_get_sclk_ticks(void) { return 0; }
static inline unsigned long long int msm_timer_get_sclk_ticks(void)
{
return 0;
}
#endif
#ifdef CONFIG_MSM_BOOT_TIME_MARKER