diff options
author | Roland Stigge <rst@work-microwave.de> | 2011-06-09 10:21:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-09 13:07:47 -0400 |
commit | 8aa460e9e9f6eb6c23c8b244516bedddee901ceb (patch) | |
tree | 6b9c377a5c90253ed413d1fdbfefe6e6b2e60b21 /drivers | |
parent | 8eb73c6c2675f708283822bd058ad1e416836ba2 (diff) |
staging: iio: max517: Fix iio_info changes
struct iio_info introduced a bug where the second channel of a MAX518 can't be
used. This commit fixes the typo (using max518 instead of the max517 struct).
Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/dac/max517.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/dac/max517.c b/drivers/staging/iio/dac/max517.c index 881768df47a6..2fe34d21b6aa 100644 --- a/drivers/staging/iio/dac/max517.c +++ b/drivers/staging/iio/dac/max517.c | |||
@@ -195,7 +195,7 @@ static const struct iio_info max517_info = { | |||
195 | }; | 195 | }; |
196 | 196 | ||
197 | static const struct iio_info max518_info = { | 197 | static const struct iio_info max518_info = { |
198 | .attrs = &max517_attribute_group, | 198 | .attrs = &max518_attribute_group, |
199 | .driver_module = THIS_MODULE, | 199 | .driver_module = THIS_MODULE, |
200 | }; | 200 | }; |
201 | 201 | ||