diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2015-06-25 00:20:44 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-08-11 14:08:41 (GMT) |
commit | acdecb04e2115747f260700384f2c403c8e9693e (patch) | |
tree | fd73a8781417edfd88f32b63b697827b5f3fa889 | |
parent | 00b6e9ff01a8f41816060b2f70752f66f100fecd (diff) | |
download | linux-acdecb04e2115747f260700384f2c403c8e9693e.tar.xz |
mfd: Remove MFD_CROS_EC_SPI depends on OF
The ChromeOS EC SPI transport driver has a dependency on OF because it
uses some OF helpers from the <linux/of.h> header. But there isn't a
need for an explicit dependency since the header has stub functions if
CONFIG_OF is not defined.
Also, MFD_CROS_EC_SPI already depends on MFD_CROS_EC which in turn has
a dependency on OF so in practice can't be selected without CONFIG_OF.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 268b6dd..076f593 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -115,7 +115,7 @@ config MFD_CROS_EC_I2C config MFD_CROS_EC_SPI tristate "ChromeOS Embedded Controller (SPI)" - depends on MFD_CROS_EC && CROS_EC_PROTO && SPI && OF + depends on MFD_CROS_EC && CROS_EC_PROTO && SPI ---help--- If you say Y here, you get support for talking to the ChromeOS EC |