On Sun, Sep 13, 2020 at 4:24 PM Jonathan Cameron <jic23@xxxxxxxxxx> wrote: > > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > I'd like to be enable W=1 for all IIO builds as it catches real issues as well > as more minor documentation issues such as this (also good to fix though!) > > drivers/iio/imu/adis16400.c:183: warning: Function parameter or member 'avail_scan_mask' not described in 'adis16400_state' > Acked-by: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > Cc: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx> > --- > drivers/iio/imu/adis16400.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/iio/imu/adis16400.c b/drivers/iio/imu/adis16400.c > index 1ebe3e50d3e6..140cfc65ee8c 100644 > --- a/drivers/iio/imu/adis16400.c > +++ b/drivers/iio/imu/adis16400.c > @@ -173,6 +173,8 @@ struct adis16400_chip_info { > * @variant: chip variant info > * @filt_int: integer part of requested filter frequency > * @adis: adis device > + * @avail_scan_mask: NULL terminated array of bitmaps of channels > + * that must be enabled together > **/ > struct adis16400_state { > struct adis16400_chip_info *variant; > -- > 2.28.0 >