diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-13 11:47:35 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-03-21 13:26:05 -0400 |
commit | c7dc7d49fa8cddcc1907f94c658989583728099f (patch) | |
tree | ca304764ceddd64fb22d2a3a49bb420f0996a089 /arch/arm/mach-pxa/Kconfig | |
parent | 419606ec4d42a37a8b688bb55fee99434ad6954c (diff) |
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>
Diffstat (limited to 'arch/arm/mach-pxa/Kconfig')
-rw-r--r-- | arch/arm/mach-pxa/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index 2895cd9d4ba5..6963dee61e19 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig | |||
@@ -73,8 +73,7 @@ config ARCH_PXA_IDP | |||
73 | config ARCH_VIPER | 73 | config ARCH_VIPER |
74 | bool "Arcom/Eurotech VIPER SBC" | 74 | bool "Arcom/Eurotech VIPER SBC" |
75 | select ARCOM_PCMCIA | 75 | select ARCOM_PCMCIA |
76 | select HAVE_PWM | 76 | select I2C_GPIO if I2C=y |
77 | select I2C_GPIO | ||
78 | select ISA | 77 | select ISA |
79 | select PXA25x | 78 | select PXA25x |
80 | select PXA_HAVE_ISA_IRQS | 79 | select PXA_HAVE_ISA_IRQS |