diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-04-23 23:35:58 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-05-09 11:51:09 +0200 |
commit | 5a826feedc331a2d5ced2afd832199a70b3af891 (patch) | |
tree | 5d3fd40bd60b857a6d8b5942095a7a68f871fe74 /drivers/mfd/Kconfig | |
parent | mfd: stmpe: mask off unused blocks properly (diff) | |
download | linux-5a826feedc331a2d5ced2afd832199a70b3af891.tar.xz linux-5a826feedc331a2d5ced2afd832199a70b3af891.zip |
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/Kconfig | 1 |
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 |