Merge tag 'msm-cleanup-for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / drivers / gpio / Kconfig
index 573c449c49b9138a69f8aaf9a999e8a41898d2e1..847a6dc15a543cbf4e9544a1fe0a60057117a45b 100644 (file)
@@ -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