diff options
-rw-r--r-- | drivers/staging/iio/resolver/ad2s90.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/resolver/ad2s90.c b/drivers/staging/iio/resolver/ad2s90.c index 0aecfbcdb992..40b825286d4a 100644 --- a/drivers/staging/iio/resolver/ad2s90.c +++ b/drivers/staging/iio/resolver/ad2s90.c | |||
@@ -55,7 +55,7 @@ static const struct iio_chan_spec ad2s90_chan = { | |||
55 | .type = IIO_ANGL, | 55 | .type = IIO_ANGL, |
56 | .indexed = 1, | 56 | .indexed = 1, |
57 | .channel = 0, | 57 | .channel = 0, |
58 | .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT, | 58 | .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static int ad2s90_probe(struct spi_device *spi) | 61 | static int ad2s90_probe(struct spi_device *spi) |