summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-03-04 21:10:17 (GMT)
committerJonathan Cameron <jic23@kernel.org>2013-03-17 19:49:43 (GMT)
commit066f90512ebfa3c59492f377cbb78c3b7231737c (patch)
treeff0a27ae39d6765ff5cc46110cb216bf3b45cf08
parent78a5fa674cb1c22b2fd44357889075b78b27e9bc (diff)
downloadlinux-066f90512ebfa3c59492f377cbb78c3b7231737c.tar.xz
staging:iio:adc:lpc32xx 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> cc: Roland Stigge <stigge@antcom.de>
-rw-r--r--drivers/staging/iio/adc/lpc32xx_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/lpc32xx_adc.c b/drivers/staging/iio/adc/lpc32xx_adc.c
index 0bf2a6c..2f2f7fd 100644
--- a/drivers/staging/iio/adc/lpc32xx_adc.c
+++ b/drivers/staging/iio/adc/lpc32xx_adc.c
@@ -103,7 +103,7 @@ static const struct iio_info lpc32xx_adc_iio_info = {
.type = IIO_VOLTAGE, \
.indexed = 1, \
.channel = _index, \
- .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT, \
+ .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \
.address = AD_IN * _index, \
.scan_index = _index, \
}