mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
iio: adc: Add info property under adc_data
Add info property under adc_data to support adding ADC variants which may use different iio_info than the one defined for PMIC5. Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
d1492bbd47
commit
572e76e381
2 changed files with 4 additions and 1 deletions
|
@ -136,6 +136,7 @@ struct adc5_data {
|
|||
const u32 full_scale_code_volt;
|
||||
const u32 full_scale_code_cur;
|
||||
const struct adc5_channels *adc_chans;
|
||||
const struct iio_info *info;
|
||||
unsigned int *decimation;
|
||||
unsigned int *hw_settle_1;
|
||||
unsigned int *hw_settle_2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue