cpufreq: exynos: Show a list of available frequencies
authorJungseok Lee <jays.lee@samsung.com>
Mon, 14 Oct 2013 23:31:13 +0000 (08:31 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Oct 2013 21:17:25 +0000 (23:17 +0200)
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>
drivers/cpufreq/exynos5440-cpufreq.c

index 06b73e85eec029d9085ce2c7d10fe23534597f37..fecc3dadb7e29b4b83d9988fec80dcff4aaea080 100644 (file)
@@ -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[] = {