Messages in this thread | | | Date | Wed, 2 Feb 2022 18:04:25 +0100 | Subject | Re: [PATCH v13 02/11] iio: afe: rescale: add INT_PLUS_{MICRO,NANO} support | From | Peter Rosin <> |
| |
Hi!
On 2022-01-30 17:10, Liam Beguin wrote: > Some ADCs use IIO_VAL_INT_PLUS_{NANO,MICRO} scale types. > Add support for these to allow using the iio-rescaler with them. > > Signed-off-by: Liam Beguin <liambeguin@gmail.com> > Reviewed-by: Peter Rosin <peda@axentia.se> > --- > drivers/iio/afe/iio-rescale.c | 35 +++++++++++++++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > > diff --git a/drivers/iio/afe/iio-rescale.c b/drivers/iio/afe/iio-rescale.c > index 65832dd09249..f833eb38f8bb 100644 > --- a/drivers/iio/afe/iio-rescale.c > +++ b/drivers/iio/afe/iio-rescale.c > @@ -14,6 +14,7 @@ > #include <linux/of_device.h> > #include <linux/platform_device.h> > #include <linux/property.h> > +#include <linux/units.h>
This include should be moved to the first patch that uses stuff from it.
Cheers, Peter
*snip*
| |