Skip to content

Commit

Permalink
iio: cf_axi_adc: add id field to struct axiadc_chip_info
Browse files Browse the repository at this point in the history
Can be used by the consumer drivers.

Signed-off-by: Alexandru Ardelean <[email protected]>
  • Loading branch information
commodo committed Aug 26, 2020
1 parent c7690d2 commit 59430b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/iio/adc/cf_axi_adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ enum adc_data_sel {
struct axiadc_state;

struct axiadc_chip_info {
unsigned int id;
char *name;
unsigned num_channels;
unsigned num_shadow_slave_channels;
Expand Down

0 comments on commit 59430b4

Please sign in to comment.