diff options
Diffstat (limited to 'drivers/clk/meson/gxbb-aoclk.h')
-rw-r--r-- | drivers/clk/meson/gxbb-aoclk.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/clk/meson/gxbb-aoclk.h b/drivers/clk/meson/gxbb-aoclk.h index e8604c8f7eee..0be78383f257 100644 --- a/drivers/clk/meson/gxbb-aoclk.h +++ b/drivers/clk/meson/gxbb-aoclk.h | |||
@@ -17,22 +17,11 @@ | |||
17 | #define AO_RTC_ALT_CLK_CNTL0 0x94 | 17 | #define AO_RTC_ALT_CLK_CNTL0 0x94 |
18 | #define AO_RTC_ALT_CLK_CNTL1 0x98 | 18 | #define AO_RTC_ALT_CLK_CNTL1 0x98 |
19 | 19 | ||
20 | struct aoclk_gate_regmap { | ||
21 | struct clk_hw hw; | ||
22 | unsigned bit_idx; | ||
23 | struct regmap *regmap; | ||
24 | spinlock_t *lock; | ||
25 | }; | ||
26 | |||
27 | #define to_aoclk_gate_regmap(_hw) \ | ||
28 | container_of(_hw, struct aoclk_gate_regmap, hw) | ||
29 | |||
30 | extern const struct clk_ops meson_aoclk_gate_regmap_ops; | 20 | extern const struct clk_ops meson_aoclk_gate_regmap_ops; |
31 | 21 | ||
32 | struct aoclk_cec_32k { | 22 | struct aoclk_cec_32k { |
33 | struct clk_hw hw; | 23 | struct clk_hw hw; |
34 | struct regmap *regmap; | 24 | struct regmap *regmap; |
35 | spinlock_t *lock; | ||
36 | }; | 25 | }; |
37 | 26 | ||
38 | #define to_aoclk_cec_32k(_hw) container_of(_hw, struct aoclk_cec_32k, hw) | 27 | #define to_aoclk_cec_32k(_hw) container_of(_hw, struct aoclk_cec_32k, hw) |