|
@@ -190,7 +190,7 @@ static const struct iio_chan_spec mpl3115_channels[] = {
|
|
|
{
|
|
|
.type = IIO_PRESSURE,
|
|
|
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
|
|
|
- BIT(IIO_CHAN_INFO_SCALE),
|
|
|
+ .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE),
|
|
|
.scan_index = 0,
|
|
|
.scan_type = {
|
|
|
.sign = 'u',
|
|
@@ -203,7 +203,7 @@ static const struct iio_chan_spec mpl3115_channels[] = {
|
|
|
{
|
|
|
.type = IIO_TEMP,
|
|
|
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
|
|
|
- BIT(IIO_CHAN_INFO_SCALE),
|
|
|
+ .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE),
|
|
|
.scan_index = 1,
|
|
|
.scan_type = {
|
|
|
.sign = 's',
|