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:
parent
5cb5749cd7
commit
e54fbdbc40
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue