mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
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:
parent
df1e8abb32
commit
c28e8b3ae4
3 changed files with 8 additions and 4 deletions
|
|
@ -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 *
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue