clk: Move debug_node field under DEBUG_FS flag in struct clk_core
The debug_node field is only used when DEBUG_FS config is selected, so declare it only if DEBUG_FS is selected. Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
3037e9ea78
commit
8c9a8a8f71
1 changed files with 1 additions and 1 deletions
|
@ -62,11 +62,11 @@ struct clk_core {
|
||||||
int phase;
|
int phase;
|
||||||
struct hlist_head children;
|
struct hlist_head children;
|
||||||
struct hlist_node child_node;
|
struct hlist_node child_node;
|
||||||
struct hlist_node debug_node;
|
|
||||||
struct hlist_head clks;
|
struct hlist_head clks;
|
||||||
unsigned int notifier_count;
|
unsigned int notifier_count;
|
||||||
#ifdef CONFIG_DEBUG_FS
|
#ifdef CONFIG_DEBUG_FS
|
||||||
struct dentry *dentry;
|
struct dentry *dentry;
|
||||||
|
struct hlist_node debug_node;
|
||||||
#endif
|
#endif
|
||||||
struct kref ref;
|
struct kref ref;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue