• Jean Delvare's avatar
    i2c: Fix Kconfig dependencies · 0a57274e
    Jean Delvare authored
    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: default avatarJean Delvare <khali@linux-fr.org>
    Acked-by: default avatarMichal Marek <mmarek@suse.cz>
    0a57274e
Kconfig 3.55 KB