diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/sh_clk.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/sh_clk.h b/include/linux/sh_clk.h index ecdfea54a49e..8ae37707a4a4 100644 --- a/include/linux/sh_clk.h +++ b/include/linux/sh_clk.h | |||
| @@ -4,11 +4,20 @@ | |||
| 4 | #include <linux/list.h> | 4 | #include <linux/list.h> |
| 5 | #include <linux/seq_file.h> | 5 | #include <linux/seq_file.h> |
| 6 | #include <linux/cpufreq.h> | 6 | #include <linux/cpufreq.h> |
| 7 | #include <linux/types.h> | ||
| 8 | #include <linux/kref.h> | ||
| 7 | #include <linux/clk.h> | 9 | #include <linux/clk.h> |
| 8 | #include <linux/err.h> | 10 | #include <linux/err.h> |
| 9 | 11 | ||
| 10 | struct clk; | 12 | struct clk; |
| 11 | 13 | ||
| 14 | struct clk_mapping { | ||
| 15 | phys_addr_t phys; | ||
| 16 | void __iomem *base; | ||
| 17 | unsigned long len; | ||
| 18 | struct kref ref; | ||
| 19 | }; | ||
| 20 | |||
| 12 | struct clk_ops { | 21 | struct clk_ops { |
| 13 | void (*init)(struct clk *clk); | 22 | void (*init)(struct clk *clk); |
| 14 | int (*enable)(struct clk *clk); | 23 | int (*enable)(struct clk *clk); |
| @@ -42,6 +51,7 @@ struct clk { | |||
| 42 | unsigned long arch_flags; | 51 | unsigned long arch_flags; |
| 43 | void *priv; | 52 | void *priv; |
| 44 | struct dentry *dentry; | 53 | struct dentry *dentry; |
| 54 | struct clk_mapping *mapping; | ||
| 45 | struct cpufreq_frequency_table *freq_table; | 55 | struct cpufreq_frequency_table *freq_table; |
| 46 | }; | 56 | }; |
| 47 | 57 | ||
