drivers: qcom: boot_stats: Update function signature

Update init_bootkpi and boot_marker_enabled as inline
functions to avoid -Wunused-function compiler error.

Change-Id: I61098c8bcc941d21a2ff30905cd93d82af1cf1f4
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
This commit is contained in:
Shreyas K K 2021-02-18 14:16:15 +05:30
parent 1e18bf1c46
commit 5f4ebb2c89

View File

@ -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