0a57274ea0
drivers/i2c/algos/Kconfig makes all the algorithms dependent on !I2C_HELPER_AUTO, which triggers a Kconfig warning about broken dependencies when some driver selects one of the algorithms. Ideally we would make only the prompts dependent on !I2C_HELPER_AUTO, however Kconfig doesn't currently support that. So we have to redefine the symbols separately for the I2C_HELPER_AUTO=y case. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Michal Marek <mmarek@suse.cz>
30 lines
490 B
Plaintext
30 lines
490 B
Plaintext
#
|
|
# I2C algorithm drivers configuration
|
|
#
|
|
|
|
menu "I2C Algorithms"
|
|
depends on !I2C_HELPER_AUTO
|
|
|
|
config I2C_ALGOBIT
|
|
tristate "I2C bit-banging interfaces"
|
|
|
|
config I2C_ALGOPCF
|
|
tristate "I2C PCF 8584 interfaces"
|
|
|
|
config I2C_ALGOPCA
|
|
tristate "I2C PCA 9564 interfaces"
|
|
|
|
endmenu
|
|
|
|
# In automatic configuration mode, we still have to define the
|
|
# symbols to avoid unmet dependencies.
|
|
|
|
if I2C_HELPER_AUTO
|
|
config I2C_ALGOBIT
|
|
tristate
|
|
config I2C_ALGOPCF
|
|
tristate
|
|
config I2C_ALGOPCA
|
|
tristate
|
|
endif
|