[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1317499438-14058-24-git-send-email-arnd@arndb.de>
Date: Sat, 1 Oct 2011 22:03:55 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Eric Miao <eric.y.miao@...il.com>
Cc: Russell King - ARM Linux <linux@....linux.org.uk>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Jason Chagas <jason.chagas@...vell.com>,
Haojian Zhuang <haojian.zhuang@...vell.com>,
Arnd Bergmann <arnd@...db.de>
Subject: [PATCH 23/26] ARM: pxa: viper: select I2C_GPIO only when I2C is on
The viper platform selects the i2c_gpio driver, but that does
not build when i2c itself is disabled. Rather than also selecting
i2c, this makes the select conditional.
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
arch/arm/mach-pxa/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig
index ef35ce9..568b7f6 100644
--- a/arch/arm/mach-pxa/Kconfig
+++ b/arch/arm/mach-pxa/Kconfig
@@ -81,7 +81,7 @@ config ARCH_VIPER
bool "Arcom/Eurotech VIPER SBC"
select PXA25x
select ISA
- select I2C_GPIO
+ select I2C_GPIO if I2C
select HAVE_PWM
select PXA_HAVE_ISA_IRQS
select ARCOM_PCMCIA
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists