From 010a20b5801a7d5ce2b2b4746dcef794b8fb010b Mon Sep 17 00:00:00 2001 From: Ishan Mittal Date: Tue, 30 Dec 2014 16:15:28 +0530 Subject: iio: nvs: Fixing iio_chan_spec variable definitions Change-Id: I93532e8d26fe874776702190dc3363165ca11394 --- include/linux/nvs_light.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/nvs_light.h b/include/linux/nvs_light.h index 22dd73528..551f1e07b 100644 --- a/include/linux/nvs_light.h +++ b/include/linux/nvs_light.h @@ -114,7 +114,8 @@ static const struct iio_chan_spec iio_chan_spec_nvs_light[] = { { .type = IIO_LIGHT, .scan_type = IIO_ST('u', 32, 32, 0), - .info_mask = BIT(IIO_CHAN_INFO_RAW) | + .info_mask_shared_by_all + = BIT(IIO_CHAN_INFO_RAW) | BIT(IIO_CHAN_INFO_BATCH_FLUSH) | BIT(IIO_CHAN_INFO_BATCH_PERIOD) | BIT(IIO_CHAN_INFO_BATCH_TIMEOUT) | -- cgit v1.2.2