diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-11-27 11:49:39 +0300 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-11-27 12:28:09 +0300 |
commit | 74c166b58895a7b536d6434235b23b51e64adf68 (patch) | |
tree | 22796d88f281ecaaf9167d14c2d2b92311cfd8a9 /drivers/platform | |
parent | 5ec966dbcc1935cfd429ffba22b837b88219cfcb (diff) | |
download | linux-74c166b58895a7b536d6434235b23b51e64adf68.tar.xz |
platform/chrome: cros_ec: Add Kconfig default for cros-ec-sensorhub
Like the other CrOS EC sub-drivers set that depends on his parent and
set default to the parent's value.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/chrome/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kconfig index 38f4b98a98b2..5f57282a28da 100644 --- a/drivers/platform/chrome/Kconfig +++ b/drivers/platform/chrome/Kconfig @@ -192,7 +192,8 @@ config CROS_EC_DEBUGFS config CROS_EC_SENSORHUB tristate "ChromeOS EC MEMS Sensor Hub" - depends on CROS_EC + depends on MFD_CROS_EC_DEV + default MFD_CROS_EC_DEV help Allow loading IIO sensors. This driver is loaded by MFD and will in turn query the EC and register the sensors. |