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: Vivek Aknurwar <viveka@codeaurora.org>
This commit is contained in:
Vivek Aknurwar 2020-02-21 14:59:01 -08:00
commit c28e8b3ae4
3 changed files with 8 additions and 4 deletions

View file

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

View file

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

View file

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