diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-20 12:28:59 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 18:32:36 +0100 |
commit | 0c452df9f08d4f0b829802cec3501d987390ada2 (patch) | |
tree | 215ee608d4ac0af8d32d8b32776f7745d10b7302 /arch/arm/mach-pnx4008/clock.h | |
parent | ARM: PNX4008: simplify clk enable/disable paths (diff) | |
download | linux-0c452df9f08d4f0b829802cec3501d987390ada2.tar.xz linux-0c452df9f08d4f0b829802cec3501d987390ada2.zip |
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 { u8 enable_shift1; u32 enable_reg1; u32 parent_switch_reg; - u32(*round_rate) (struct clk *, u32); + u32(*round_rate) (struct clk *, u32); int (*set_rate) (struct clk *, u32); int (*set_parent) (struct clk * clk, struct clk * parent); + int (*enable)(struct clk *); + void (*disable)(struct clk *); }; /* Flags */ |