]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/clk-private.h
Merge branch 'clk-next-unregister' into clk-next
[karo-tx-linux.git] / include / linux / clk-private.h
index 5fb086b06c833d0078aa2a827b5aaef6dc3509d6..efbf70b9fd847f01fb5b623210ad60ee5dc54bdf 100644 (file)
@@ -12,6 +12,7 @@
 #define __LINUX_CLK_PRIVATE_H
 
 #include <linux/clk-provider.h>
+#include <linux/kref.h>
 #include <linux/list.h>
 
 /*
 
 #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;
 };
 
 /*