Jonathan Cameron schrieb: > Reported-by: Erik Habbinga <Erik.Habbinga@xxxxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx> Acked-by: Hartmut Knaack <knaack.h@xxxxxx> > --- > drivers/iio/adc/max1363.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c > index 9cf3229..1b3b74b 100644 > --- a/drivers/iio/adc/max1363.c > +++ b/drivers/iio/adc/max1363.c > @@ -1252,8 +1252,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = { > .num_modes = ARRAY_SIZE(max1238_mode_list), > .default_mode = s0to11, > .info = &max1238_info, > - .channels = max1238_channels, > - .num_channels = ARRAY_SIZE(max1238_channels), > + .channels = max1038_channels, > + .num_channels = ARRAY_SIZE(max1038_channels), > }, > [max11605] = { > .bits = 8, > @@ -1262,8 +1262,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = { > .num_modes = ARRAY_SIZE(max1238_mode_list), > .default_mode = s0to11, > .info = &max1238_info, > - .channels = max1238_channels, > - .num_channels = ARRAY_SIZE(max1238_channels), > + .channels = max1038_channels, > + .num_channels = ARRAY_SIZE(max1038_channels), > }, > [max11606] = { > .bits = 10, > @@ -1312,8 +1312,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = { > .num_modes = ARRAY_SIZE(max1238_mode_list), > .default_mode = s0to11, > .info = &max1238_info, > - .channels = max1238_channels, > - .num_channels = ARRAY_SIZE(max1238_channels), > + .channels = max1138_channels, > + .num_channels = ARRAY_SIZE(max1138_channels), > }, > [max11611] = { > .bits = 10, > @@ -1322,8 +1322,8 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = { > .num_modes = ARRAY_SIZE(max1238_mode_list), > .default_mode = s0to11, > .info = &max1238_info, > - .channels = max1238_channels, > - .num_channels = ARRAY_SIZE(max1238_channels), > + .channels = max1138_channels, > + .num_channels = ARRAY_SIZE(max1138_channels), > }, > [max11612] = { > .bits = 12, -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html