kernel_samsung_a53x/include/soc/samsung/dev_cooling.h
2024-06-15 16:02:09 -03:00

17 lines
513 B
C
Executable file

#ifndef __DEV_COOLING_H__
#define __DEV_COOLING_H__
#include <linux/of.h>
#include <linux/thermal.h>
#include <linux/platform_device.h>
#include <soc/samsung/exynos-devfreq.h>
#if IS_ENABLED(CONFIG_EXYNOS_THERMAL_V2)
extern struct thermal_cooling_device *exynos_dev_cooling_register(struct device_node *np, struct exynos_devfreq_data *data);
#else
static inline struct thermal_cooling_device *exynos_dev_cooling_register(struct device_node *np, struct exynos_devfreq_data *data)
{
return NULL;
}
#endif
#endif