]> git.openfabrics.org - ~shefty/rdma-dev.git/blob - drivers/i2c/algos/Kconfig
i2c: Fix Kconfig dependencies
[~shefty/rdma-dev.git] / drivers / i2c / algos / Kconfig
1 #
2 # I2C algorithm drivers configuration
3 #
4
5 menu "I2C Algorithms"
6         depends on !I2C_HELPER_AUTO
7
8 config I2C_ALGOBIT
9         tristate "I2C bit-banging interfaces"
10
11 config I2C_ALGOPCF
12         tristate "I2C PCF 8584 interfaces"
13
14 config I2C_ALGOPCA
15         tristate "I2C PCA 9564 interfaces"
16
17 endmenu
18
19 # In automatic configuration mode, we still have to define the
20 # symbols to avoid unmet dependencies.
21
22 if I2C_HELPER_AUTO
23 config I2C_ALGOBIT
24         tristate
25 config I2C_ALGOPCF
26         tristate
27 config I2C_ALGOPCA
28         tristate
29 endif