diff options
Diffstat (limited to 'include/linux/clk-private.h')
-rw-r--r-- | include/linux/clk-private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/clk-private.h b/include/linux/clk-private.h index 5fb086b06c8..efbf70b9fd8 100644 --- a/include/linux/clk-private.h +++ b/include/linux/clk-private.h @@ -12,6 +12,7 @@ #define __LINUX_CLK_PRIVATE_H #include <linux/clk-provider.h> +#include <linux/kref.h> #include <linux/list.h> /* @@ -25,10 +26,13 @@ #ifdef CONFIG_COMMON_CLK +struct module; + struct clk { const char *name; const struct clk_ops *ops; struct clk_hw *hw; + struct module *owner; struct clk *parent; const char **parent_names; struct clk **parents; @@ -48,6 +52,7 @@ struct clk { #ifdef CONFIG_DEBUG_FS struct dentry *dentry; #endif + struct kref ref; }; /* |