]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: pxa: select I2C_GPIO only if I2C is on
authorArnd Bergmann <arnd@arndb.de>
Thu, 13 Mar 2014 15:47:35 +0000 (16:47 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:26:05 +0000 (18:26 +0100)
commitb62a7d6c8ad7a1cbbf5e5b43dc8e6851bcbb9670
treeca304764ceddd64fb22d2a3a49bb420f0996a089
parentabfd1879d8a7b034a9f137d9eaac73d77a4d9ee3
ARM: pxa: select I2C_GPIO only if I2C is on

The Arcom/Eurotech VIPER SBC enables the I2C_GPIO driver, but
that has a dependency on I2C, and causes build failures if I2C
is disabled. To keep existing configurations running while fixing
the randconfig problems, this changes the logic to only enable
I2C_GPIO if I2C is already enabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Daniel Mack <zonque@gmail.com>
arch/arm/mach-pxa/Kconfig