diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-04-23 21:35:58 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-05-09 09:51:09 (GMT) |
commit | 5a826feedc331a2d5ced2afd832199a70b3af891 (patch) | |
tree | 5d3fd40bd60b857a6d8b5942095a7a68f871fe74 /drivers/mfd/Kconfig | |
parent | b69d2ad6748e2cd3a6b93fca074adc31f56e4436 (diff) | |
download | linux-5a826feedc331a2d5ced2afd832199a70b3af891.tar.xz |
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 3383412..29be025 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 |