kernel_samsung_a53x/include/soc/samsung/dev_cooling.h

18 lines
513 B
C
Raw Normal View History

2024-06-15 21:02:09 +02:00
#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