[PATCH] i2c driver changes for 2.5.67

From: Greg KH (greg@kroah.com)
Date: Wed Apr 09 2003 - 17:31:39 EST


ChangeSet 1.1033.3.1, 2003/04/07 09:31:20-07:00, greg@kroah.com

i2c: fix up CONFIG_I2C_SENSOR configuration logic.

Thanks to Ardrian Bunk for help with this.

 drivers/i2c/chips/Kconfig | 5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -Nru a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig
--- a/drivers/i2c/chips/Kconfig Wed Apr 9 15:17:08 2003
+++ b/drivers/i2c/chips/Kconfig Wed Apr 9 15:17:08 2003
@@ -66,7 +66,8 @@
 
 config I2C_SENSOR
         tristate
- depends on SENSORS_ADM1021 || SENSORS_LM75 || SENSORS_VIA686A || SENSORS_W83781D
- default m
+ default y if SENSORS_ADM1021=y || SENSORS_LM75=y || SENSORS_VIA686A=y || SENSORS_W83781D=y
+ default m if SENSORS_ADM1021=m || SENSORS_LM75=m || SENSORS_VIA686A=m || SENSORS_W83781D=m
+ default n
 
 endmenu

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



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:19 EST