diff options
Diffstat (limited to 'arch/sh/include/asm/clock.h')
-rw-r--r-- | arch/sh/include/asm/clock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/include/asm/clock.h b/arch/sh/include/asm/clock.h index 2f6c9627bc1f..b1f29199e4bd 100644 --- a/arch/sh/include/asm/clock.h +++ b/arch/sh/include/asm/clock.h | |||
@@ -1,7 +1,6 @@ | |||
1 | #ifndef __ASM_SH_CLOCK_H | 1 | #ifndef __ASM_SH_CLOCK_H |
2 | #define __ASM_SH_CLOCK_H | 2 | #define __ASM_SH_CLOCK_H |
3 | 3 | ||
4 | #include <linux/kref.h> | ||
5 | #include <linux/list.h> | 4 | #include <linux/list.h> |
6 | #include <linux/seq_file.h> | 5 | #include <linux/seq_file.h> |
7 | #include <linux/clk.h> | 6 | #include <linux/clk.h> |
@@ -28,7 +27,7 @@ struct clk { | |||
28 | struct clk *parent; | 27 | struct clk *parent; |
29 | struct clk_ops *ops; | 28 | struct clk_ops *ops; |
30 | 29 | ||
31 | struct kref kref; | 30 | int usecount; |
32 | 31 | ||
33 | unsigned long rate; | 32 | unsigned long rate; |
34 | unsigned long flags; | 33 | unsigned long flags; |
@@ -37,6 +36,7 @@ struct clk { | |||
37 | 36 | ||
38 | #define CLK_ALWAYS_ENABLED (1 << 0) | 37 | #define CLK_ALWAYS_ENABLED (1 << 0) |
39 | #define CLK_RATE_PROPAGATES (1 << 1) | 38 | #define CLK_RATE_PROPAGATES (1 << 1) |
39 | #define CLK_NEEDS_INIT (1 << 2) | ||
40 | 40 | ||
41 | /* Should be defined by processor-specific code */ | 41 | /* Should be defined by processor-specific code */ |
42 | void arch_init_clk_ops(struct clk_ops **, int type); | 42 | void arch_init_clk_ops(struct clk_ops **, int type); |