aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJungseok Lee <jays.lee@samsung.com>2013-10-15 08:31:13 +0900
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-16 23:17:25 +0200
commit5d7e690d775e59e51caaf03e90811af7729ef278 (patch)
treec3eaf9785aac48c0e6c27989456ecc4d2cdee820
parente50322a59a3fc42245ae6159095d9ba635da1a03 (diff)
downloadleg-kernel-5d7e690d775e59e51caaf03e90811af7729ef278.tar.gz
cpufreq: exynos: Show a list of available frequencies
This patch adds freq_attr to show a list of exynos5440 scaling available frequencies through sysfs. Common exynos driver already supports this attribute. Signed-off-by: Jungseok Lee <jays.lee@samsung.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/cpufreq/exynos5440-cpufreq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c
index 06b73e85eec0..fecc3dadb7e2 100644
--- a/drivers/cpufreq/exynos5440-cpufreq.c
+++ b/drivers/cpufreq/exynos5440-cpufreq.c
@@ -330,6 +330,7 @@ static struct cpufreq_driver exynos_driver = {
.init = exynos_cpufreq_cpu_init,
.exit = cpufreq_generic_exit,
.name = CPUFREQ_NAME,
+ .attr = cpufreq_generic_attr,
};
static const struct of_device_id exynos_cpufreq_match[] = {