diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-20 11:28:59 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 17:32:36 (GMT) |
commit | 0c452df9f08d4f0b829802cec3501d987390ada2 (patch) | |
tree | 215ee608d4ac0af8d32d8b32776f7745d10b7302 /arch/arm/mach-pnx4008/clock.h | |
parent | 5413f7464e976e2c2ddb20686fc2e66ae8795b6e (diff) | |
download | linux-fsl-qoriq-0c452df9f08d4f0b829802cec3501d987390ada2.tar.xz |
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 933e181..39720d6 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 */ |