summaryrefslogtreecommitdiff
path: root/drivers/thermal/tegra/Makefile
diff options
context:
space:
mode:
authorWei Ni <wni@nvidia.com>2016-03-29 18:29:14 +0800
committerEduardo Valentin <edubezval@gmail.com>2016-05-17 07:28:28 -0700
commit65b6d57c24ed0aff1fc571e42d8f51bdfcce9a8e (patch)
tree3e2594f80a4d68d263cfe28b6ed68c53dd46b052 /drivers/thermal/tegra/Makefile
parent1c3bdc1627c331b4925a95453f7b61226077bebe (diff)
thermal: tegra: split tegra_soctherm driver
Split most of the Tegra124 data and code into a Tegra124-specific file. Split most of the fuse-related code into a fuse-related source file. This is in preparation for adding a Tegra210-specific driver in a future patch. Beyond the maintainability improvements, this is intended to separate chip-specific ATE and characterization-related hacks into chip-specific files, in the hopes that they won't pollute code for other chips. Signed-off-by: Wei Ni <wni@nvidia.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/tegra/Makefile')
-rw-r--r--drivers/thermal/tegra/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/thermal/tegra/Makefile b/drivers/thermal/tegra/Makefile
index d4dc4e7f279e..d5fb15377b97 100644
--- a/drivers/thermal/tegra/Makefile
+++ b/drivers/thermal/tegra/Makefile
@@ -1 +1,4 @@
obj-$(CONFIG_TEGRA_SOCTHERM) += tegra-soctherm.o
+
+tegra-soctherm-y := soctherm.o soctherm-fuse.o
+tegra-soctherm-$(CONFIG_ARCH_TEGRA_124_SOC) += tegra124-soctherm.o