Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3452f1d authored by Ladislav Michl's avatar Ladislav Michl Committed by Linus Walleij
Browse files

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: default avatarLadislav Michl <ladis@linux-mips.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 470b73a3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -43,6 +43,8 @@ extern int pinctrl_init_done(struct device *dev);

#else

struct device;

/* Stubs if we're not using pinctrl */

static inline int pinctrl_bind_pins(struct device *dev)