summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-04-23 23:35:58 +0200
committerLee Jones <lee.jones@linaro.org>2014-05-09 10:51:09 +0100
commit5a826feedc331a2d5ced2afd832199a70b3af891 (patch)
tree5d3fd40bd60b857a6d8b5942095a7a68f871fe74 /drivers/mfd/Kconfig
parentb69d2ad6748e2cd3a6b93fca074adc31f56e4436 (diff)
downloadlinux-5a826feedc331a2d5ced2afd832199a70b3af891.tar.bz2
mfd: stmpe: Probe properly from the Device Tree
The current STMPE I2C probing code does not really match the compatible strings - it matches node names happening to give the right device name. Instead, let's introduce some real compatible matching, more complex, more accurate. Make the driver depend on OF since all platforms using it are DT-only. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 33834120d057..29be025d5835 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -675,6 +675,7 @@ config MFD_DB8500_PRCMU
config MFD_STMPE
bool "STMicroelectronics STMPE"
depends on (I2C=y || SPI_MASTER=y)
+ depends on OF
select MFD_CORE
help
Support for the STMPE family of I/O Expanders from