[PATCH 2/2] thermal/spear_thermal: Add compilation dependency on PLAT_SPEAR

From: Viresh Kumar
Date: Sun Feb 26 2012 - 23:12:21 EST


spear_thermal is a proprietary module used for SPEAr machines only. Add compile
dependency in Kconfig for PLAT_SPEAR.

Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxx>
---
drivers/thermal/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 2633fe0..514a691 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -22,6 +22,7 @@ config THERMAL_HWMON
config SPEAR_THERMAL
bool "SPEAr thermal sensor driver"
depends on THERMAL
+ depends on PLAT_SPEAR
help
Enable this to plug the SPEAr thermal sensor driver into the Linux
thermal framework
--
1.7.8.110.g4cb5d

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/