From: lakkyung.jung Date: Tue, 15 May 2018 06:44:46 +0000 (+0900) Subject: [COMMON] cpu_cooling: Fix build error when CPU_THERMAL was disabled. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cb6a249db1ea585466418d6a453db4f9beb1e039;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] cpu_cooling: Fix build error when CPU_THERMAL was disabled. Change-Id: I95a852a39f9d8bf824f6e5a5bb7bdb12edc2a83d --- diff --git a/include/linux/cpu_cooling.h b/include/linux/cpu_cooling.h index 8efbdb7716c1..c082834f0d08 100644 --- a/include/linux/cpu_cooling.h +++ b/include/linux/cpu_cooling.h @@ -166,7 +166,7 @@ of_cpufreq_power_cooling_register(struct device_node *np, } static inline struct thermal_cooling_device * -exynos_cpufreq_cooling_register(struct device_node *np, const struct cpumask *clip_cpus) +exynos_cpufreq_cooling_register(struct device_node *np, struct cpufreq_policy *policy) { return NULL; }