Re: [PATCH v2] iio: light: bh1745: fix 16-bit register accesses

From: Andy Shevchenko

Date: Tue Nov 17 2026 - 09:24:05 EST


On Tue, Nov 17, 2026 at 04:21:25PM +0200, Andy Shevchenko wrote:
> + Cc: Matti (even he is not listed as maintainer) for possible another pair of
> eyes and/or having an answer why this was missed at the time of the driver
> submission (from my perspective this patch is correct).
>
> On Tue, Nov 17, 2026 at 04:33:25PM +0530, Arnav Kapoor wrote:

...

> > #include <linux/bits.h>
> > #include <linux/bitfield.h>

Looking again at this, I just realise that we also need

+ types.h here.

> >
> > +#include <asm/byteorder.h>

--
With Best Regards,
Andy Shevchenko