summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock.h
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2012-10-09 00:44:14 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:37:17 -0700
commiteeb0d7eec034179775db211d928e92d499a62fcd (patch)
treee5a8235ee4b9329842616acfbb57195034215d37 /arch/arm/mach-tegra/clock.h
parent61785bb19386669e3accaf35df963268fbf91812 (diff)
ARM: tegra11: dvfs: Dynamically allocate cl dvfs object
Dynamically allocated cl dvfs object by the cl-dvfs driver, and hide cl_dvfs structure definition from clock framework. Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/142851 (cherry picked from commit a2adb1710edc52c61b1fa336e5253aa5735ec717) Change-Id: I6dd1af043d15aba143bdf02bb53dd1e796784626 Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-on: http://git-master/r/146277 Reviewed-by: Automatic_Commit_Validation_User Rebase-Id: R426561875c23c8e17600be892ee843f5ca16ebd1
Diffstat (limited to 'arch/arm/mach-tegra/clock.h')
-rw-r--r--arch/arm/mach-tegra/clock.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h
index eaad7df53c55..2c8cfd003150 100644
--- a/arch/arm/mach-tegra/clock.h
+++ b/arch/arm/mach-tegra/clock.h
@@ -114,8 +114,6 @@ enum clk_state {
};
#ifndef CONFIG_COMMON_CLK
-struct tegra_cl_dvfs;
-
struct clk_ops {
void (*init)(struct clk *);
int (*enable)(struct clk *);
@@ -201,7 +199,7 @@ struct clk {
u32 (*round_p_to_pdiv)(u32 p, u32 *pdiv);
} pll;
struct {
- struct tegra_cl_dvfs *cl_dvfs;
+ void *cl_dvfs;
} dfll;
struct {
unsigned long default_rate;