aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-02-27 14:28:57 -0500
committerJonathan Cameron <jic23@kernel.org>2013-03-17 15:49:34 -0400
commitbeacbaac9909d1b68887c01017d52bd14574d050 (patch)
tree4d8198bdcace72f7af2abf721f45f9a2d4191845 /drivers/iio
parent90b46374009371ed1c8d5b8817a64de76aa6dc17 (diff)
iio:freq:ad9523 move to info_mask_(shared_by_type/separate)
The original info_mask is going away in favour of the broken out versions. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/frequency/ad9523.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iio/frequency/ad9523.c b/drivers/iio/frequency/ad9523.c
index 1ea132e239ea..92276deeb026 100644
--- a/drivers/iio/frequency/ad9523.c
+++ b/drivers/iio/frequency/ad9523.c
@@ -920,10 +920,10 @@ static int ad9523_setup(struct iio_dev *indio_dev)
920 st->ad9523_channels[i].channel = chan->channel_num; 920 st->ad9523_channels[i].channel = chan->channel_num;
921 st->ad9523_channels[i].extend_name = 921 st->ad9523_channels[i].extend_name =
922 chan->extended_name; 922 chan->extended_name;
923 st->ad9523_channels[i].info_mask = 923 st->ad9523_channels[i].info_mask_separate =
924 IIO_CHAN_INFO_RAW_SEPARATE_BIT | 924 BIT(IIO_CHAN_INFO_RAW) |
925 IIO_CHAN_INFO_PHASE_SEPARATE_BIT | 925 BIT(IIO_CHAN_INFO_PHASE) |
926 IIO_CHAN_INFO_FREQUENCY_SEPARATE_BIT; 926 BIT(IIO_CHAN_INFO_FREQUENCY);
927 } 927 }
928 } 928 }
929 929