diff options
| author | Ishan Mittal <imittal@nvidia.com> | 2014-12-30 05:45:28 -0500 |
|---|---|---|
| committer | Robert Collins <rcollins@nvidia.com> | 2017-07-17 17:32:21 -0400 |
| commit | 010a20b5801a7d5ce2b2b4746dcef794b8fb010b (patch) | |
| tree | de67031b6bc28b959eb9c3aad142780a23c34537 /include/linux | |
| parent | eae0abac7e63fa05bb52d3dc609b27454f939619 (diff) | |
iio: nvs: Fixing iio_chan_spec variable definitions
Change-Id: I93532e8d26fe874776702190dc3363165ca11394
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvs_light.h | 3 |
1 files changed, 2 insertions, 1 deletions
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[] = { | |||
| 114 | { | 114 | { |
| 115 | .type = IIO_LIGHT, | 115 | .type = IIO_LIGHT, |
| 116 | .scan_type = IIO_ST('u', 32, 32, 0), | 116 | .scan_type = IIO_ST('u', 32, 32, 0), |
| 117 | .info_mask = BIT(IIO_CHAN_INFO_RAW) | | 117 | .info_mask_shared_by_all |
| 118 | = BIT(IIO_CHAN_INFO_RAW) | | ||
| 118 | BIT(IIO_CHAN_INFO_BATCH_FLUSH) | | 119 | BIT(IIO_CHAN_INFO_BATCH_FLUSH) | |
| 119 | BIT(IIO_CHAN_INFO_BATCH_PERIOD) | | 120 | BIT(IIO_CHAN_INFO_BATCH_PERIOD) | |
| 120 | BIT(IIO_CHAN_INFO_BATCH_TIMEOUT) | | 121 | BIT(IIO_CHAN_INFO_BATCH_TIMEOUT) | |
