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

Commit c28e8b3a authored by Vivek Aknurwar's avatar Vivek Aknurwar
Browse files

clk: Move clk_debug_print_enabled to linux clk header



Global clk header API must be in linux clk include diretory.
Move clk_debug_print_enabled prototype to linux header
from local clk.h header.

Change-Id: Ie40349620f60e16fb9aa89a7a97cc03d164b638e
Signed-off-by: default avatarVivek Aknurwar <viveka@codeaurora.org>
parent df1e8abb
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -26,9 +26,6 @@ struct clk *clk_hw_create_clk(struct device *dev, struct clk_hw *hw,
			      const char *dev_id, const char *con_id);
void __clk_put(struct clk *clk);

/* Debugfs API to print the enabled clocks */
void clock_debug_print_enabled(void);

#else
/* All these casts to avoid ifdefs in clkdev... */
static inline struct clk *
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
#include <asm/cpuidle.h>
#include "lpm-levels.h"
#include <trace/events/power.h>
#include "../clk/clk.h"
#include <linux/clk.h>
#define CREATE_TRACE_POINTS
#include <trace/events/trace_msm_low_power.h>

+7 −0
Original line number Diff line number Diff line
@@ -982,4 +982,11 @@ static inline struct clk *of_clk_get_from_provider(struct of_phandle_args *clksp
}
#endif

#ifdef CONFIG_COMMON_CLK_QCOM_DEBUG
/* Debugfs API to print the enabled clocks */
void clock_debug_print_enabled(void);
#else
static inline void clock_debug_print_enabled(void){}
#endif

#endif