summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock.h
diff options
context:
space:
mode:
authorPuneet Saxena <puneets@nvidia.com>2013-07-19 20:46:19 +0530
committerAjay Nandakumar <anandakumarm@nvidia.com>2013-10-03 19:17:50 +0530
commitbd65c015c97c87454e9dc0988485cd4191fe4d0c (patch)
tree0b47958e6a9e0c641398a5a4bef05a2bd148f6c7 /arch/arm/mach-tegra/clock.h
parentf8d160c87b3a8bbc57dc74f41ecf9c3c50eaded9 (diff)
Arm: tegra: Remove emc clock client for cpu
It removes emc clock client created for scaling emc freq due to cpu to emc static coupling.ratio. Now emc scaling due to cpu request is taken care by MCCPU actmon device. Bug 1338326 Change-Id: I320d37396a773102ecd7fdfa1934834db9bf34df Signed-off-by: Puneet Saxena <puneets@nvidia.com> Reviewed-on: http://git-master/r/244778 (cherry picked from commit 26688f560926a8afd8d44364e79aa84143065979) Reviewed-on: http://git-master/r/278897 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Tested-by: Sachin Nikam <snikam@nvidia.com> (cherry picked from commit be31933caee68a5b47559513564b9b7dc1844350) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/clock.h')
-rw-r--r--arch/arm/mach-tegra/clock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h
index f2b4bfa74bab..45a9a56652c9 100644
--- a/arch/arm/mach-tegra/clock.h
+++ b/arch/arm/mach-tegra/clock.h
@@ -476,6 +476,9 @@ static inline int tegra_update_mselect_rate(unsigned long cpu_rate)
#else
int tegra_update_mselect_rate(unsigned long cpu_rate);
#endif
+#else
+static inline unsigned long tegra_emc_to_cpu_ratio(unsigned long cpu_rate)
+{ return 0; }
#endif
#endif