summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/Makefile
diff options
context:
space:
mode:
authorEduardo Valentin <edubezval@gmail.com>2016-11-08 00:09:04 -0500
committerZhang Rui <rui.zhang@intel.com>2016-11-22 21:06:12 -0500
commitcd221c7b638f83193ffcacf9c2e3f087033fd4cf (patch)
treec50ac0fced4f3cf95155b2bab0e184ee986b6614 /drivers/thermal/Makefile
parent77dc4f9032008f097145e6cff7a7532bb9de4ea0 (diff)
thermal: core: introduce thermal_helpers.c
Here we have a simple code organization. This patch moves functions that do not need to handle thermal core internal data structure to thermal_helpers.c file. Cc: Zhang Rui <rui.zhang@intel.com> Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/Makefile')
-rw-r--r--drivers/thermal/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
index 767c3c9aeeea..6a3d7b573036 100644
--- a/drivers/thermal/Makefile
+++ b/drivers/thermal/Makefile
@@ -3,7 +3,8 @@
3# 3#
4 4
5obj-$(CONFIG_THERMAL) += thermal_sys.o 5obj-$(CONFIG_THERMAL) += thermal_sys.o
6thermal_sys-y += thermal_core.o thermal_sysfs.o 6thermal_sys-y += thermal_core.o thermal_sysfs.o \
7 thermal_helpers.o
7 8
8# interface to/from other layers providing sensors 9# interface to/from other layers providing sensors
9thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o 10thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o