Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f4ebb2c authored by Shreyas K K's avatar Shreyas K K
Browse files

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: default avatarShreyas K K <shrekk@codeaurora.org>
parent 1e18bf1c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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