On Fri, Jun 10, 2022 at 10:47 AM Nuno Sá <nuno.sa@xxxxxxxxxx> wrote: > > Do not trust the fact that iio.h includes of.h which in turn includes > all the headers we are relying on. > > The ultimate goal is to actually drop of.h from iio.h. ... > #include <linux/irqreturn.h> > #include <linux/regmap.h> > #include <linux/bitfield.h> > +#include <linux/property.h> Yes, I see, but you can make life easier if you try to squeeze to the most sorted part. I do not see full context, but here I would put it before regmap.h. -- With Best Regards, Andy Shevchenko