diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-20 06:28:59 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 12:32:36 -0500 |
commit | 0c452df9f08d4f0b829802cec3501d987390ada2 (patch) | |
tree | 215ee608d4ac0af8d32d8b32776f7745d10b7302 /arch/arm/mach-pnx4008/clock.h | |
parent | 5413f7464e976e2c2ddb20686fc2e66ae8795b6e (diff) |
ARM: PNX4008: provide clock enable/disable methods and initialization
Acked-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pnx4008/clock.h')
-rw-r--r-- | arch/arm/mach-pnx4008/clock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-pnx4008/clock.h b/arch/arm/mach-pnx4008/clock.h index 933e18133b96..39720d6c0d01 100644 --- a/arch/arm/mach-pnx4008/clock.h +++ b/arch/arm/mach-pnx4008/clock.h | |||
@@ -27,9 +27,11 @@ struct clk { | |||
27 | u8 enable_shift1; | 27 | u8 enable_shift1; |
28 | u32 enable_reg1; | 28 | u32 enable_reg1; |
29 | u32 parent_switch_reg; | 29 | u32 parent_switch_reg; |
30 | u32(*round_rate) (struct clk *, u32); | 30 | u32(*round_rate) (struct clk *, u32); |
31 | int (*set_rate) (struct clk *, u32); | 31 | int (*set_rate) (struct clk *, u32); |
32 | int (*set_parent) (struct clk * clk, struct clk * parent); | 32 | int (*set_parent) (struct clk * clk, struct clk * parent); |
33 | int (*enable)(struct clk *); | ||
34 | void (*disable)(struct clk *); | ||
33 | }; | 35 | }; |
34 | 36 | ||
35 | /* Flags */ | 37 | /* Flags */ |