diff --git a/include/soc/qcom/boot_stats.h b/include/soc/qcom/boot_stats.h index 426014b7dc06..8ccef8943da8 100644 --- a/include/soc/qcom/boot_stats.h +++ b/include/soc/qcom/boot_stats.h @@ -7,9 +7,9 @@ void place_marker(const char *name); void destroy_marker(const char *name); int boot_marker_enabled(void) { return 1; } #else -static int init_bootkpi(void) { return 0; } +static inline int init_bootkpi(void) { return 0; } static inline void exit_bootkpi(void) { }; static inline void place_marker(char *name) { }; static inline void destroy_marker(const char *name) { }; -static int boot_marker_enabled(void) { return 0; } +static inline int boot_marker_enabled(void) { return 0; } #endif