Skip to content

Commit

Permalink
staging: iio: max517: Fix iio_info changes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roland Stigge authored and Greg Kroah-Hartman committed Jun 9, 2011
1 parent 8eb73c6 commit 8aa460e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/iio/dac/max517.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ static const struct iio_info max517_info = {
};

static const struct iio_info max518_info = {
.attrs = &max517_attribute_group,
.attrs = &max518_attribute_group,
.driver_module = THIS_MODULE,
};

Expand Down

0 comments on commit 8aa460e

Please sign in to comment.