summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/mpl115.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/pressure/mpl115.c')
-rw-r--r--drivers/iio/pressure/mpl115.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/pressure/mpl115.c b/drivers/iio/pressure/mpl115.c
index 73f2f0c46e62..8f2bce213248 100644
--- a/drivers/iio/pressure/mpl115.c
+++ b/drivers/iio/pressure/mpl115.c
@@ -137,6 +137,7 @@ static const struct iio_chan_spec mpl115_channels[] = {
{
.type = IIO_TEMP,
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
+ .info_mask_shared_by_type =
BIT(IIO_CHAN_INFO_OFFSET) | BIT(IIO_CHAN_INFO_SCALE),
},
};