diff mbox

[v2] da850-evm: allow pca953x module build

Message ID 1289849419-32343-1-git-send-email-bengardiner@nanometrics.ca (mailing list archive)
State Superseded
Headers show

Commit Message

Ben Gardiner Nov. 15, 2010, 7:30 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
index b77b860..1d42fb9 100644
--- a/arch/arm/mach-davinci/Kconfig
+++ b/arch/arm/mach-davinci/Kconfig
@@ -148,7 +148,6 @@  config MACH_DAVINCI_DA850_EVM
 	bool "TI DA850/OMAP-L138/AM18x Reference Platform"
 	default ARCH_DAVINCI_DA850
 	depends on ARCH_DAVINCI_DA850
-	select GPIO_PCA953X
 	help
 	  Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
 
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 510aa20..2e23017 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -149,6 +149,7 @@  config GPIO_MAX732X_IRQ
 config GPIO_PCA953X
 	tristate "PCA953x, PCA955x, TCA64xx, and MAX7310 I/O ports"
 	depends on I2C
+	default y if MACH_DAVINCI_DA850_EVM
 	help
 	  Say yes here to provide access to several register-oriented
 	  SMBus I/O expanders, made mostly by NXP or TI.  Compatible