summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorRohit Vaswani <rvaswani@codeaurora.org>2013-06-10 15:50:21 -0700
committerDavid Brown <davidb@codeaurora.org>2013-06-12 14:50:12 -0700
commit43f68444bce70e360ff6ce3653a54e511625f651 (patch)
tree31a695accad61e88f5f584acca4d9abc0d708eea /drivers/gpio/Kconfig
parenteda9dcfa56f4864e0e4340f5af3f3e39f514b726 (diff)
downloadop-kernel-dev-43f68444bce70e360ff6ce3653a54e511625f651.zip
op-kernel-dev-43f68444bce70e360ff6ce3653a54e511625f651.tar.gz
gpio: msm: Add device tree and irqdomain support for gpio-msm-v2
This cleans up the gpio-msm-v2 driver of all the global define usage. The number of gpios are now defined in the device tree. This enables adding irqdomain support as well. Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org> Acked-by: Grant Likely <grant.likely@linaro.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 87d5670..6d61a12 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -165,7 +165,7 @@ config GPIO_MSM_V1
config GPIO_MSM_V2
tristate "Qualcomm MSM GPIO v2"
- depends on GPIOLIB && ARCH_MSM
+ depends on GPIOLIB && OF && ARCH_MSM
help
Say yes here to support the GPIO interface on ARM v7 based
Qualcomm MSM chips. Most of the pins on the MSM can be
OpenPOWER on IntegriCloud