summaryrefslogtreecommitdiff
path: root/drivers/iio/health
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/health')
-rw-r--r--drivers/iio/health/afe440x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/health/afe440x.h b/drivers/iio/health/afe440x.h
index 544bbab..583d071 100644
--- a/drivers/iio/health/afe440x.h
+++ b/drivers/iio/health/afe440x.h
@@ -125,7 +125,7 @@ struct afe440x_reg_info {
.type = IIO_CURRENT, \
.channel = _index, \
.address = _index, \
- .scan_index = _index, \
+ .scan_index = -1, \
.extend_name = _name, \
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | \
BIT(IIO_CHAN_INFO_SCALE), \