iio: pressure: mpl115: do not rely on structure field ordering
am: 2ab6b8c717
Change-Id: Ic82b55fc5ed4a3f92939355b4324427ec52c5436
This commit is contained in:
commit
d6ba22f15d
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,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),
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue