summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJonas Aaberg <jonas.aberg@stericsson.com>2011-12-02 14:40:06 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 10:59:24 +0200
commitd70684c81afb9294834e31375871573a2346e417 (patch)
tree276f11e2a771b3bb68004633ac300c6b91ce7529 /include
parentfc69b7e4e8ab07295e96e9cb6d72ca14a54f151c (diff)
ARM: ux500: cpufreq: Add percent to frequency
Add function that converts OPP percent to frequency. ST-Ericsson Linux next: - ST-Ericsson ID: 400518 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: If7fa331aff952550cea14576b654c5ab0b872e4a Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40834 Reviewed-by: QABUILD Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpufreq-dbx500.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/cpufreq-dbx500.h b/include/linux/cpufreq-dbx500.h
index 80d67083e11..15c59c3b1c8 100644
--- a/include/linux/cpufreq-dbx500.h
+++ b/include/linux/cpufreq-dbx500.h
@@ -11,4 +11,6 @@
int dbx500_cpufreq_get_limits(int cpu, int r,
unsigned int *min, unsigned int *max);
+int dbx500_cpufreq_percent2freq(int percent);
+
#endif