Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / drivers / iio / dac / ad5064.c
index 74f2d52795f6e6c44fe49025b49adbe13f33fc39..aa26d50ab63854e7522dc093ea2dce80f0961358 100644 (file)
@@ -296,8 +296,8 @@ static const struct iio_chan_spec_ext_info ad5064_ext_info[] = {
        .indexed = 1,                                           \
        .output = 1,                                            \
        .channel = (chan),                                      \
-       .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT |           \
-       IIO_CHAN_INFO_SCALE_SEPARATE_BIT,                       \
+       .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) |          \
+       BIT(IIO_CHAN_INFO_SCALE),                                       \
        .address = addr,                                        \
        .scan_type = IIO_ST('u', (bits), 16, 20 - (bits)),      \
        .ext_info = ad5064_ext_info,                            \