]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/iio/adc/ti_am335x_adc.c
Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux
[karo-tx-linux.git] / drivers / iio / adc / ti_am335x_adc.c
index cd030e100c395416e4043ad6659f7030266b9b7e..5f9a7e7d313520c71529ffcea02c6f59cc816a93 100644 (file)
@@ -89,7 +89,7 @@ static int tiadc_channel_init(struct iio_dev *indio_dev, int channels)
                chan->type = IIO_VOLTAGE;
                chan->indexed = 1;
                chan->channel = i;
-               chan->info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT;
+               chan->info_mask_separate = BIT(IIO_CHAN_INFO_RAW);
        }
 
        indio_dev->channels = chan_array;