From 11d9efadc0baf44a973674c42a3497768a8cf246 Mon Sep 17 00:00:00 2001 From: Vivek Kumar Date: Fri, 13 Apr 2018 12:04:49 +0530 Subject: [PATCH] soc: qcom: boot_stats: Fix place_marker API Fix place_marker function definition when MSM_BOOT_TIMER_MARKER is disabled. Change-Id: I201ea0a2b78e310016f847c615254f6ee8273b6f Signed-off-by: Vivek Kumar --- include/soc/qcom/boot_stats.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/soc/qcom/boot_stats.h b/include/soc/qcom/boot_stats.h index b76d5676b555..5b82aa0bedc3 100644 --- a/include/soc/qcom/boot_stats.h +++ b/include/soc/qcom/boot_stats.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2014,2016 The Linux Foundation. All rights reserved. +/* Copyright (c) 2013-2014,2016,2018 The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -41,6 +41,6 @@ unsigned long long int msm_timer_get_sclk_ticks(void) { return 0; } static inline int boot_marker_enabled(void) { return 1; } void place_marker(const char *name); #else -inline void place_marker(char *name); +static inline void place_marker(char *name) { }; static inline int boot_marker_enabled(void) { return 0; } #endif