aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2013-12-09 05:05:39 -0500
committerLee Jones <lee.jones@linaro.org>2014-01-21 03:28:04 -0500
commitfcfccdb22f340f9ae354f39793c206c7ead190dd (patch)
treeb1432a5986668e1c93b0b59a3e7c1c345ffa7313
parentea0f8b0b67ba4c55fef154904bf50579d2039695 (diff)
mfd: cros ec: spi: Depend on OF
The driver is not used on any non-DT platform, so it can depend on the OF Kconfig symbol to make that explicit. This is in preparation of a subsequent patch which parses some parameters from the device tree and would otherwise have to conditionalize that code. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 1c2a389e6dc2..58ed055c1c08 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -80,7 +80,7 @@ config MFD_CROS_EC_I2C
80 80
81config MFD_CROS_EC_SPI 81config MFD_CROS_EC_SPI
82 tristate "ChromeOS Embedded Controller (SPI)" 82 tristate "ChromeOS Embedded Controller (SPI)"
83 depends on MFD_CROS_EC && SPI 83 depends on MFD_CROS_EC && SPI && OF
84 84
85 ---help--- 85 ---help---
86 If you say Y here, you get support for talking to the ChromeOS EC 86 If you say Y here, you get support for talking to the ChromeOS EC