diff options
Diffstat (limited to 'drivers/iio/dac/ad5449.c')
-rw-r--r-- | drivers/iio/dac/ad5449.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/dac/ad5449.c b/drivers/iio/dac/ad5449.c index c4731b7b577b..ba1c914b0399 100644 --- a/drivers/iio/dac/ad5449.c +++ b/drivers/iio/dac/ad5449.c | |||
@@ -206,8 +206,8 @@ static const struct iio_info ad5449_info = { | |||
206 | .indexed = 1, \ | 206 | .indexed = 1, \ |
207 | .output = 1, \ | 207 | .output = 1, \ |
208 | .channel = (chan), \ | 208 | .channel = (chan), \ |
209 | .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ | 209 | .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | \ |
210 | IIO_CHAN_INFO_SCALE_SEPARATE_BIT, \ | 210 | BIT(IIO_CHAN_INFO_SCALE), \ |
211 | .address = (chan), \ | 211 | .address = (chan), \ |
212 | .scan_type = IIO_ST('u', (bits), 16, 12 - (bits)), \ | 212 | .scan_type = IIO_ST('u', (bits), 16, 12 - (bits)), \ |
213 | } | 213 | } |