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:
parent
8eb73c6c26
commit
8aa460e9e9
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue