Message ID | 20200717165538.3275050-28-lee.jones@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Second batch of W=1 fixes for IIO | expand |
On Fri, 17 Jul 2020 17:55:35 +0100 Lee Jones <lee.jones@linaro.org> wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/iio/magnetometer/ak8974.c:200: warning: Function parameter or member 'scan' not described in 'ak8974' > > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: Samu Onkalo <samu.p.onkalo@nokia.com> > Signed-off-by: Lee Jones <lee.jones@linaro.org> Applied to the togreg branch of iio.git and pushed out as testing for the autobuidlers to play with it. Thanks, Jonathan > --- > drivers/iio/magnetometer/ak8974.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/magnetometer/ak8974.c b/drivers/iio/magnetometer/ak8974.c > index 91c39352fba26..4d6d8b699f037 100644 > --- a/drivers/iio/magnetometer/ak8974.c > +++ b/drivers/iio/magnetometer/ak8974.c > @@ -180,6 +180,7 @@ > * @drdy_irq: uses the DRDY IRQ line > * @drdy_complete: completion for DRDY > * @drdy_active_low: the DRDY IRQ is active low > + * @scan: timestamps > */ > struct ak8974 { > struct i2c_client *i2c;
diff --git a/drivers/iio/magnetometer/ak8974.c b/drivers/iio/magnetometer/ak8974.c index 91c39352fba26..4d6d8b699f037 100644 --- a/drivers/iio/magnetometer/ak8974.c +++ b/drivers/iio/magnetometer/ak8974.c @@ -180,6 +180,7 @@ * @drdy_irq: uses the DRDY IRQ line * @drdy_complete: completion for DRDY * @drdy_active_low: the DRDY IRQ is active low + * @scan: timestamps */ struct ak8974 { struct i2c_client *i2c;
Fixes the following W=1 kernel build warning(s): drivers/iio/magnetometer/ak8974.c:200: warning: Function parameter or member 'scan' not described in 'ak8974' Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Samu Onkalo <samu.p.onkalo@nokia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/iio/magnetometer/ak8974.c | 1 + 1 file changed, 1 insertion(+)