From: Jean Delvare Date: Sun, 24 Oct 2010 16:16:57 +0000 (+0200) Subject: i2c: Fix Kconfig dependencies X-Git-Tag: v2.6.37-rc1~143^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a57274ea026c2b7670683947b6cc08b195148cf;p=pandora-kernel.git i2c: Fix Kconfig dependencies 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 Acked-by: Michal Marek --- Reading git-diff-tree failed