thermal: ti-soc: Kconfig fix to avoid menu showing wrongly
[linux-2.6-microblaze.git] / drivers / thermal / Kconfig
index 7d95587..5aabc4b 100644 (file)
@@ -349,6 +349,7 @@ config INTEL_PCH_THERMAL
          programmable trip points and other information.
 
 menu "Texas Instruments thermal drivers"
+depends on ARCH_HAS_BANDGAP || COMPILE_TEST
 source "drivers/thermal/ti-soc-thermal/Kconfig"
 endmenu