]> Git Repo - linux.git/commitdiff
platform/chrome: cros_ec: Add Kconfig default for cros-ec-sensorhub
authorEnric Balletbo i Serra <[email protected]>
Wed, 27 Nov 2019 08:49:39 +0000 (09:49 +0100)
committerEnric Balletbo i Serra <[email protected]>
Wed, 27 Nov 2019 09:28:09 +0000 (10:28 +0100)
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 <[email protected]>
drivers/platform/chrome/Kconfig

index 38f4b98a98b2ef1109edbdcdc2f2e6a665718260..5f57282a28da006c912254e477248a81b767c9e0 100644 (file)
@@ -192,7 +192,8 @@ config CROS_EC_DEBUGFS
 
 config CROS_EC_SENSORHUB
        tristate "ChromeOS EC MEMS Sensor Hub"
 
 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.
        help
          Allow loading IIO sensors. This driver is loaded by MFD and will in
          turn query the EC and register the sensors.
This page took 0.058015 seconds and 4 git commands to generate.