浏览代码

staging:iio:adc:mxs 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>
Reviewed-by: Marek Vasut <marex@denx.de>
Jonathan Cameron 12 年之前
父节点
当前提交
78a5fa674c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/staging/iio/adc/mxs-lradc.c

+ 1 - 1
drivers/staging/iio/adc/mxs-lradc.c

@@ -822,7 +822,7 @@ static const struct iio_buffer_setup_ops mxs_lradc_buffer_ops = {
 	.type = (chan_type),					\
 	.indexed = 1,						\
 	.scan_index = (idx),					\
-	.info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,		\
+	.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),		\
 	.channel = (idx),					\
 	.scan_type = {						\
 		.sign = 'u',					\