summaryrefslogtreecommitdiff
path: root/include/linux/iio/dac
diff options
context:
space:
mode:
authorAntonio Fiol <antonio@fiol.es>2015-03-28 09:07:14 +0100
committerJonathan Cameron <jic23@kernel.org>2015-03-28 10:57:34 +0000
commita878a1a61a1f0e4b23602ddd87b1408a7a748d0e (patch)
tree5e6da606d28aa24f012bb5b3dcbe6b22b66b9074 /include/linux/iio/dac
parent7253606d383954c5b0470b5f27fbcedeec2e6d72 (diff)
iio: max517: Add support for MAX520 and MAX521 chips.
MAX520 and MAX521 are protocol-compatible with the already supported chips, just have more channels. Signed-off-by: Antonio Fiol <antonio@fiol.es> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio/dac')
-rw-r--r--include/linux/iio/dac/max517.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iio/dac/max517.h b/include/linux/iio/dac/max517.h
index f6d1d252f08d..7668716cd73c 100644
--- a/include/linux/iio/dac/max517.h
+++ b/include/linux/iio/dac/max517.h
@@ -9,7 +9,7 @@
#define IIO_DAC_MAX517_H_
struct max517_platform_data {
- u16 vref_mv[2];
+ u16 vref_mv[8];
};
#endif /* IIO_DAC_MAX517_H_ */