summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/cros_ec_accel_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/cros_ec_accel_legacy.c')
-rw-r--r--drivers/iio/accel/cros_ec_accel_legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/cros_ec_accel_legacy.c b/drivers/iio/accel/cros_ec_accel_legacy.c
index b6f3471b62dc..8f1232c38e0d 100644
--- a/drivers/iio/accel/cros_ec_accel_legacy.c
+++ b/drivers/iio/accel/cros_ec_accel_legacy.c
@@ -215,7 +215,7 @@ static int cros_ec_accel_legacy_probe(struct platform_device *pdev)
return -ENOMEM;
ret = cros_ec_sensors_core_init(pdev, indio_dev, true,
- cros_ec_sensors_capture, NULL);
+ cros_ec_sensors_capture, NULL, false);
if (ret)
return ret;