diff options
Diffstat (limited to 'drivers/staging')
| -rw-r--r-- | drivers/staging/iio/adc/mxs-lradc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c index ebcbd12d48b9..351339ccaad6 100644 --- a/drivers/staging/iio/adc/mxs-lradc.c +++ b/drivers/staging/iio/adc/mxs-lradc.c | |||
| @@ -1397,6 +1397,13 @@ static const struct iio_chan_spec mxs_lradc_chan_spec[] = { | |||
| 1397 | .channel = 8, | 1397 | .channel = 8, |
| 1398 | .scan_type = {.sign = 'u', .realbits = 18, .storagebits = 32,}, | 1398 | .scan_type = {.sign = 'u', .realbits = 18, .storagebits = 32,}, |
| 1399 | }, | 1399 | }, |
| 1400 | /* Hidden channel to keep indexes */ | ||
| 1401 | { | ||
| 1402 | .type = IIO_TEMP, | ||
| 1403 | .indexed = 1, | ||
| 1404 | .scan_index = -1, | ||
| 1405 | .channel = 9, | ||
| 1406 | }, | ||
| 1400 | MXS_ADC_CHAN(10, IIO_VOLTAGE), /* VDDIO */ | 1407 | MXS_ADC_CHAN(10, IIO_VOLTAGE), /* VDDIO */ |
| 1401 | MXS_ADC_CHAN(11, IIO_VOLTAGE), /* VTH */ | 1408 | MXS_ADC_CHAN(11, IIO_VOLTAGE), /* VTH */ |
| 1402 | MXS_ADC_CHAN(12, IIO_VOLTAGE), /* VDDA */ | 1409 | MXS_ADC_CHAN(12, IIO_VOLTAGE), /* VDDA */ |
