hwmon: Fix SENSORS_TMP102 dependencies to eliminate build errors
PATCH 1/1 hwmon: Fix SENSORS_TMP102 dependencies to eliminate build errors
Similar to what was done for the lm75 driver.
Add depends on THERMAL since that is what provides the register/unregister functions above, but only if THERMAL_OF was selected as this is an optional feature of the driver.
--- drivers/hwmon/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/hwmon/Kconfig +1 -0
@@ -1285,6 +1285,7 @@ config SENSORS_THMC50 config SENSORS_TMP102 tristate "Texas Instruments TMP102" depends on I2C + depends on THERMAL || !THERMAL_OF help If you say yes here you get support for Texas Instruments TMP102 sensor chips.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 9 lines · Jean Delvare
Similar to what was done for the lm75 driver.
Add depends on THERMAL since that is what provides the register/unregister functions above, but only if
THERMAL_OFwas selected as this is an optional feature of the driver.Signed-off-by Jean Delvare <[email protected]>Cc Randy Dunlap <[email protected]>Cc Eduardo Valentin <[email protected]>
Quoted 16 lines
--- drivers/hwmon/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/hwmon/Kconfig +1
-0@@ -1285,6 +1285,7 @@ config SENSORS_THMC50 config SENSORS_TMP102 tristate "Texas Instruments TMP102" depends on I2C + depends on THERMAL || !THERMAL_OF help If you say yes here you get support for Texas Instruments TMP102 sensor chips.
Signature · 3 lines
You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 9 lines · Jean Delvare
Similar to what was done for the lm75 driver.
Add depends on THERMAL since that is what provides the register/unregister functions above, but only if
THERMAL_OFwas selected as this is an optional feature of the driver.Signed-off-by Jean Delvare <[email protected]>Cc Randy Dunlap <[email protected]>Cc Eduardo Valentin <[email protected]>
Quoted 16 lines
--- drivers/hwmon/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/hwmon/Kconfig +1
-0@@ -1285,6 +1285,7 @@ config SENSORS_THMC50 config SENSORS_TMP102 tristate "Texas Instruments TMP102" depends on I2C + depends on THERMAL || !THERMAL_OF help If you say yes here you get support for Texas Instruments TMP102 sensor chips.