From 74c166b58895a7b536d6434235b23b51e64adf68 Mon Sep 17 00:00:00 2001 From: Enric Balletbo i Serra Date: Wed, 27 Nov 2019 09:49:39 +0100 Subject: [PATCH] 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 --- drivers/platform/chrome/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.30.2