5fbf7f27fa
Most of the processing for each int340x driver to add a thermal zone is very similar and every driver has to duplicate code. Created a common module, which exports API to add and remove zones. In this way, we not only avoid duplicate code but also helps in bug fixes and enhancements. If for some driver default processing for thermal zone callback is not enough they can overide individual callback. The code for this driver is primarily copied from int3402_thermal.c. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
7 lines
322 B
Makefile
7 lines
322 B
Makefile
obj-$(CONFIG_INT340X_THERMAL) += int3400_thermal.o
|
|
obj-$(CONFIG_INT340X_THERMAL) += int340x_thermal_zone.o
|
|
obj-$(CONFIG_INT340X_THERMAL) += int3402_thermal.o
|
|
obj-$(CONFIG_INT340X_THERMAL) += int3403_thermal.o
|
|
obj-$(CONFIG_INT340X_THERMAL) += processor_thermal_device.o
|
|
obj-$(CONFIG_ACPI_THERMAL_REL) += acpi_thermal_rel.o
|