diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index 74a37c7f847a..5b5f60a06c76 100644 --- a/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile @@ -47,7 +47,7 @@ obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o obj-y += intel/ obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/ obj-y += st/ -obj-$(CONFIG_QCOM_TSENS) += qcom/ +obj-$(CONFIG_ARCH_QCOM) += qcom/ obj-y += tegra/ obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o obj-$(CONFIG_MTK_THERMAL) += mtk_thermal.o