Re: [PATCH v3 1/2] iio: frequency: ad9832: remove kernel.h proxy header.

Joshua Crofts
2026-04-14T10:12:05Z

On Tue, 14 Apr 2026 at 11:38, Andy Shevchenko
<andriy.shevchenko@intel.com> wrote:
> > #include <asm/div64.h>
>
> While at it, you can move asm/* to go after generic linux/* ones as asm is more
> custom than linux.

Sure.

> > #include <linux/device.h>
>
> What about this one? Is it used?
>
> Many drivers just need dev_printk.h + device/devres.h. Some indeed require
> device.h. Please, double check.

I compiled it with the include combination above and it passed, but looking into
the generated .i file I can see a full struct device definition, so I
assume there's
some sort of transitive include behavior (spi.h or something)

--
Kind regards

CJD