On Mon, Jan 22, 2018 at 12:50 PM, Ladislav Michl <ladis@xxxxxxxxxxxxxx> wrote: > Linus, > > after moving managed io function declarations into device.h, above error > was triggered. Please consider folowing patch: > >>8-------------- > > From: Ladislav Michl <ladis@xxxxxxxxxxxxxx> > Subject: [PATCH] include/pinctrl: Forward declare struct device > > pinctrl/devinfo.h is using forward declaration from pinctrl/consumer.h > for configurations with CONFIG_PINCTRL defined, however nothing declares > it in the opposite case. Fix this by adding a forward declaration. > > Signed-off-by: Ladislav Michl <ladis@xxxxxxxxxxxxxx> Ah good catch. Patch applied. Yours, Linus Walleij