aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci
diff options
context:
space:
mode:
authorBen Gardiner <bengardiner@nanometrics.ca>2010-11-19 09:17:35 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2010-12-10 07:33:52 -0800
commitd5539ca0a5c9abd5cbf9ddcbbc1c2a507b5fd63c (patch)
treef2b9b1b20f9f5e2ed4d0fcf0c84bce453040b221 /arch/arm/mach-davinci
parentdavinci: da850-evm: UI expander gpio_set_value can sleep, use _cansleep (diff)
downloadlinux-dev-d5539ca0a5c9abd5cbf9ddcbbc1c2a507b5fd63c.tar.xz
linux-dev-d5539ca0a5c9abd5cbf9ddcbbc1c2a507b5fd63c.zip
da850-evm: allow pca953x module build
Change the mach-davinci Kconfig file so that GPIO_PCA953X is default when MACH_DAVINCI_DA850_EVM is set instead of always selecting. This allows users to compile pca953x as a module. Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> CC: Sergei Shtylyov <sshtylyov@mvista.com> CC: Nori, Sekhar <nsekhar@ti.com> Reviewed-by: Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r--arch/arm/mach-davinci/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
index b77b860b36d7..84066e8231b3 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.
@@ -178,6 +177,9 @@ config DA850_UI_RMII
endchoice
+config GPIO_PCA953X
+ default MACH_DAVINCI_DA850_EVM
+
config MACH_TNETV107X
bool "TI TNETV107X Reference Platform"
default ARCH_DAVINCI_TNETV107X