On Wed, Feb 05, 2020 at 10:34:06AM +0100, Bartosz Golaszewski wrote: > wt., 4 lut 2020 o 20:07 Andy Shevchenko > <andriy.shevchenko@xxxxxxxxxxxxxxx> napisał(a): > > > > Inclusion of kernel.h increases the mess with the header dependencies. > > Avoid kernel.h inclusion where it's possible. > > > > Besides that, clean up a bit other inclusions inside GPIO subsystem headers. > > -struct pinctrl_dev; > > If this forward declaration is removed because it's no longer needed > after removing the pinctrl include, then please mention it in the > commit message. If it's unrelated then please put it in a different > patch. Will do, thanks for review! -- With Best Regards, Andy Shevchenko