#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/thermal.h>
#include <linux/units.h>
#include "int340x_thermal_zone.h"
static int int340x_thermal_get_zone_temp(struct thermal_zone_device *zone,
int *temp)
{ … }
static int int340x_thermal_set_trip_temp(struct thermal_zone_device *zone,
const struct thermal_trip *trip, int temp)
{ … }
static void int340x_thermal_critical(struct thermal_zone_device *zone)
{ … }
static int int340x_thermal_read_trips(struct acpi_device *zone_adev,
struct thermal_trip *zone_trips,
int trip_cnt)
{ … }
static struct thermal_zone_params int340x_thermal_params = …;
struct int34x_thermal_zone *int340x_thermal_zone_add(struct acpi_device *adev,
int (*get_temp) (struct thermal_zone_device *, int *))
{ … }
EXPORT_SYMBOL_GPL(…);
void int340x_thermal_zone_remove(struct int34x_thermal_zone *int34x_zone)
{ … }
EXPORT_SYMBOL_GPL(…);
static int int340x_update_one_trip(struct thermal_trip *trip, void *arg)
{ … }
void int340x_thermal_update_trips(struct int34x_thermal_zone *int34x_zone)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;