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>
This commit is contained in:
Roland Stigge 2011-06-09 16:21:00 +02:00 committed by Greg Kroah-Hartman
parent 8eb73c6c26
commit 8aa460e9e9
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ static const struct iio_info max517_info = {
}; };
static const struct iio_info max518_info = { static const struct iio_info max518_info = {
.attrs = &max517_attribute_group, .attrs = &max518_attribute_group,
.driver_module = THIS_MODULE, .driver_module = THIS_MODULE,
}; };