Commit 748ea2f1 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Tom Rini

[PATCH] I2C: Kconfig cleanups

This patch attempts to reduce the number of inappropriate questions being
asked by menuconfig.
parent fd7a0d3e
...@@ -37,9 +37,9 @@ config I2C_CHARDEV ...@@ -37,9 +37,9 @@ config I2C_CHARDEV
This support is also available as a module. If so, the module This support is also available as a module. If so, the module
will be called i2c-dev. will be called i2c-dev.
source drivers/i2c/algos/Kconfig source drivers/i2c/algos/Kconfig
source drivers/i2c/busses/Kconfig source drivers/i2c/busses/Kconfig
source drivers/i2c/chips/Kconfig source drivers/i2c/chips/Kconfig
endmenu endmenu
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "I2C Algorithms" menu "I2C Algorithms"
depends on I2C
config I2C_ALGOBIT config I2C_ALGOBIT
tristate "I2C bit-banging interfaces" tristate "I2C bit-banging interfaces"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "I2C Hardware Bus support" menu "I2C Hardware Bus support"
depends on I2C
config I2C_ALI1535 config I2C_ALI1535
tristate "ALI 1535" tristate "ALI 1535"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "I2C Hardware Sensors Chip support" menu "I2C Hardware Sensors Chip support"
depends on I2C
config I2C_SENSOR config I2C_SENSOR
tristate tristate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment