[COMMON] thermal: Makfile: rearrange build sequence
authorHyeonseong Gil <hs.gil@samsung.com>
Fri, 24 Mar 2017 01:52:01 +0000 (10:52 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:18:36 +0000 (17:18 +0900)
To ensure the init sequences of each drivers,
gpu_cooling and isp_cooling's build sequence modified

Change-Id: I920d123f3574963fd99d0c86c76c42f2477c5086
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
drivers/thermal/Makefile

index a8b70cface84dd55fa5f970f1534f376fa4b5957..7541102a5b7a48b843256e6af29f06a21572e64a 100644 (file)
@@ -27,10 +27,6 @@ thermal_sys-$(CONFIG_CLOCK_THERMAL)  += clock_cooling.o
 # devfreq cooling
 thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
 
-thermal_sys-$(CONFIG_GPU_THERMAL)      += gpu_cooling.o
-
-thermal_sys-$(CONFIG_ISP_THERMAL)      += isp_cooling.o
-
 # platform thermal drivers
 obj-y                          += broadcom/
 obj-$(CONFIG_QCOM_SPMI_TEMP_ALARM)     += qcom-spmi-temp-alarm.o
@@ -65,3 +61,6 @@ obj-$(CONFIG_MTK_THERMAL)     += mtk_thermal.o
 obj-$(CONFIG_GENERIC_ADC_THERMAL)      += thermal-generic-adc.o
 obj-$(CONFIG_ZX2967_THERMAL)   += zx2967_thermal.o
 obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o
+
+obj-$(CONFIG_GPU_THERMAL)      += gpu_cooling.o
+obj-$(CONFIG_ISP_THERMAL)      += isp_cooling.o