From: Thierry Reding Date: Mon, 9 Dec 2013 10:05:39 +0000 (+0100) Subject: mfd: cros ec: spi: Depend on OF X-Git-Tag: next-20131210~38^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=15eb2cd7422136d7bb1b16e543360cb04a0c3334;p=karo-tx-linux.git 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 Signed-off-by: Lee Jones --- 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 config MFD_CROS_EC_SPI tristate "ChromeOS Embedded Controller (SPI)" - depends on MFD_CROS_EC && SPI + depends on MFD_CROS_EC && SPI && OF ---help--- If you say Y here, you get support for talking to the ChromeOS EC