diff options
Diffstat (limited to 'drivers/staging/iio/adc/max1363.h')
-rw-r--r-- | drivers/staging/iio/adc/max1363.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/staging/iio/adc/max1363.h b/drivers/staging/iio/adc/max1363.h index cbcb08a2cb5..fb52783a88d 100644 --- a/drivers/staging/iio/adc/max1363.h +++ b/drivers/staging/iio/adc/max1363.h @@ -146,18 +146,25 @@ struct max1363_state { }; const struct max1363_mode -*max1363_match_mode(unsigned long *mask, const struct max1363_chip_info *ci); +*max1363_match_mode(const unsigned long *mask, + const struct max1363_chip_info *ci); int max1363_set_scan_mode(struct max1363_state *st); #ifdef CONFIG_MAX1363_RING_BUFFER - +int max1363_update_scan_mode(struct iio_dev *indio_dev, + const unsigned long *scan_mask); int max1363_single_channel_from_ring(const long *mask, struct max1363_state *st); int max1363_register_ring_funcs_and_init(struct iio_dev *indio_dev); void max1363_ring_cleanup(struct iio_dev *indio_dev); #else /* CONFIG_MAX1363_RING_BUFFER */ +int max1363_update_scan_mode(struct iio_dev *indio_dev, + const long *scan_mask) +{ + return 0; +} int max1363_single_channel_from_ring(long mask, struct max1363_state *st) { |