Re: [PATCH] i2c driver fixes for 2.6.1
From: Greg KH
Date: Mon Jan 19 2004 - 21:53:41 EST
ChangeSet 1.1474.98.13, 2004/01/14 11:52:05-08:00, willy@xxxxxxxxxx
[PATCH] I2C: Kconfig cleanups
This patch attempts to reduce the number of inappropriate questions being
asked by menuconfig.
drivers/i2c/Kconfig | 6 +++---
drivers/i2c/algos/Kconfig | 1 +
drivers/i2c/busses/Kconfig | 1 +
drivers/i2c/chips/Kconfig | 1 +
4 files changed, 6 insertions(+), 3 deletions(-)
diff -Nru a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
--- a/drivers/i2c/Kconfig Mon Jan 19 15:30:56 2004
+++ b/drivers/i2c/Kconfig Mon Jan 19 15:30:56 2004
@@ -37,9 +37,9 @@
This support is also available as a module. If so, the module
will be called i2c-dev.
- source drivers/i2c/algos/Kconfig
- source drivers/i2c/busses/Kconfig
- source drivers/i2c/chips/Kconfig
+source drivers/i2c/algos/Kconfig
+source drivers/i2c/busses/Kconfig
+source drivers/i2c/chips/Kconfig
endmenu
diff -Nru a/drivers/i2c/algos/Kconfig b/drivers/i2c/algos/Kconfig
--- a/drivers/i2c/algos/Kconfig Mon Jan 19 15:30:56 2004
+++ b/drivers/i2c/algos/Kconfig Mon Jan 19 15:30:56 2004
@@ -3,6 +3,7 @@
#
menu "I2C Algorithms"
+ depends on I2C
config I2C_ALGOBIT
tristate "I2C bit-banging interfaces"
diff -Nru a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
--- a/drivers/i2c/busses/Kconfig Mon Jan 19 15:30:56 2004
+++ b/drivers/i2c/busses/Kconfig Mon Jan 19 15:30:56 2004
@@ -3,6 +3,7 @@
#
menu "I2C Hardware Bus support"
+ depends on I2C
config I2C_ALI1535
tristate "ALI 1535"
diff -Nru a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig
--- a/drivers/i2c/chips/Kconfig Mon Jan 19 15:30:56 2004
+++ b/drivers/i2c/chips/Kconfig Mon Jan 19 15:30:56 2004
@@ -3,6 +3,7 @@
#
menu "I2C Hardware Sensors Chip support"
+ depends on I2C
config I2C_SENSOR
tristate
-
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/