iio: pressure: mpl115: do not rely on structure field ordering

am: 602bd10f6e

Change-Id: I04b148379e3fab4b48e177e33148861fc9bfea6f
This commit is contained in:
Peter Rosin
2017-03-12 08:25:36 +00:00
committed by android-build-merger

View File

@@ -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),
},
};