To avoid redefenition warning.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
#include <linux/thermal.h>
#include <linux/cpumask.h>
-typedef int (*get_static_t)(cpumask_t *cpumask, int interval,
- unsigned long voltage, u32 *power);
-
/**
* struct cpufreq_cooling_device - data for cooling device with cpufreq
* @id: unique integer value corresponding to each cpufreq_cooling_device
#include <linux/thermal.h>
#include <linux/cpumask.h>
-typedef int (*get_static_t)(cpumask_t *cpumask, int interval,
- unsigned long voltage, u32 *power);
-
#ifdef CONFIG_GPU_THERMAL
/**
* gpufreq_cooling_register - function to create gpufreq cooling device.
struct thermal_cooling_device;
struct thermal_instance;
+/* From cpu_cooling.h and gpu_cooling.h */
+typedef int (*get_static_t)(cpumask_t *cpumask, int interval,
+ unsigned long voltage, u32 *power);
+
#ifdef CONFIG_SEC_DEBUG_HW_PARAM
enum thermal_zone_devices {
THERMAL_ZONE_MNGS = 0,