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>
This commit is contained in:
parent
419606ec4d
commit
c7dc7d49fa
|
@ -73,8 +73,7 @@ config ARCH_PXA_IDP
|
||||||
config ARCH_VIPER
|
config ARCH_VIPER
|
||||||
bool "Arcom/Eurotech VIPER SBC"
|
bool "Arcom/Eurotech VIPER SBC"
|
||||||
select ARCOM_PCMCIA
|
select ARCOM_PCMCIA
|
||||||
select HAVE_PWM
|
select I2C_GPIO if I2C=y
|
||||||
select I2C_GPIO
|
|
||||||
select ISA
|
select ISA
|
||||||
select PXA25x
|
select PXA25x
|
||||||
select PXA_HAVE_ISA_IRQS
|
select PXA_HAVE_ISA_IRQS
|
||||||
|
|
Loading…
Reference in New Issue