Skip to content

Commit 74c166b

Browse files
author
Enric Balletbo i Serra
committed
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 <[email protected]>
1 parent 5ec966d commit 74c166b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/platform/chrome/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ config CROS_EC_DEBUGFS
192192

193193
config CROS_EC_SENSORHUB
194194
tristate "ChromeOS EC MEMS Sensor Hub"
195-
depends on CROS_EC
195+
depends on MFD_CROS_EC_DEV
196+
default MFD_CROS_EC_DEV
196197
help
197198
Allow loading IIO sensors. This driver is loaded by MFD and will in
198199
turn query the EC and register the sensors.

0 commit comments

Comments
 (0)