aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/cpufreq/exynos5440-cpufreq.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c
index b62967148c80..24df155f871e 100644
--- a/drivers/cpufreq/exynos5440-cpufreq.c
+++ b/drivers/cpufreq/exynos5440-cpufreq.c
@@ -339,12 +339,19 @@ static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy)
339 return 0; 339 return 0;
340} 340}
341 341
342static int exynos_cpufreq_cpu_exit(struct cpufreq_policy *policy)
343{
344 cpufreq_frequency_table_put_attr(policy->cpu);
345 return 0;
346}
347
342static struct cpufreq_driver exynos_driver = { 348static struct cpufreq_driver exynos_driver = {
343 .flags = CPUFREQ_STICKY, 349 .flags = CPUFREQ_STICKY,
344 .verify = exynos_verify_speed, 350 .verify = exynos_verify_speed,
345 .target = exynos_target, 351 .target = exynos_target,
346 .get = exynos_getspeed, 352 .get = exynos_getspeed,
347 .init = exynos_cpufreq_cpu_init, 353 .init = exynos_cpufreq_cpu_init,
354 .exit = exynos_cpufreq_cpu_exit,
348 .name = CPUFREQ_NAME, 355 .name = CPUFREQ_NAME,
349}; 356};
350 357