mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
iio: pressure: mpl115: do not rely on structure field ordering
am: 2ab6b8c717
Change-Id: Ic82b55fc5ed4a3f92939355b4324427ec52c5436
This commit is contained in:
@@ -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),
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user