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