diff options
author | Dima Zavin <dima@android.com> | 2010-09-02 19:11:11 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-02-20 23:36:49 -0800 |
commit | 2b84cb4faab698b1708ce841c554546b1c9b2261 (patch) | |
tree | 72429f0ab55dc3ec1e8b7b1a9c811b4b7c692892 /arch/arm/mach-tegra/clock.h | |
parent | 375b19cd34ea9b1ab338deac20b4bd2c553bf57b (diff) |
ARM: tegra: clock: enable clk reset for non-peripheral clocks
Add a new 'reset' clk op. This can be provided for any clock,
not just peripherals.
Signed-off-by: Dima Zavin <dima@android.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/clock.h')
-rw-r--r-- | arch/arm/mach-tegra/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h index 083a4cfc6cf..42f00c0af0d 100644 --- a/arch/arm/mach-tegra/clock.h +++ b/arch/arm/mach-tegra/clock.h @@ -86,6 +86,7 @@ struct clk_ops { int (*set_parent)(struct clk *, struct clk *); int (*set_rate)(struct clk *, unsigned long); long (*round_rate)(struct clk *, unsigned long); + void (*reset)(struct clk *, bool); }; enum clk_state { |