File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -919,7 +919,7 @@ static void __init acpi_cpufreq_boost_init(void)
919
919
}
920
920
}
921
921
922
- static void __exit acpi_cpufreq_boost_exit (void )
922
+ static void acpi_cpufreq_boost_exit (void )
923
923
{
924
924
if (msrs ) {
925
925
unregister_cpu_notifier (& boost_nb );
@@ -969,9 +969,10 @@ static int __init acpi_cpufreq_init(void)
969
969
acpi_cpufreq_boost_init ();
970
970
971
971
ret = cpufreq_register_driver (& acpi_cpufreq_driver );
972
- if (ret )
972
+ if (ret ) {
973
973
free_acpi_perf_data ();
974
-
974
+ acpi_cpufreq_boost_exit ();
975
+ }
975
976
return ret ;
976
977
}
977
978
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ comment "DEVFREQ Drivers"
67
67
68
68
config ARM_EXYNOS4_BUS_DEVFREQ
69
69
bool "ARM Exynos4210/4212/4412 Memory Bus DEVFREQ Driver"
70
- depends on CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412
70
+ depends on ( CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412) && !ARCH_MULTIPLATFORM
71
71
select ARCH_HAS_OPP
72
72
select DEVFREQ_GOV_SIMPLE_ONDEMAND
73
73
help
You can’t perform that action at this time.
0 commit comments