提交 d3452f1d 编写于 作者: L Ladislav Michl 提交者: Linus Walleij

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: NLadislav Michl <ladis@linux-mips.org>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 470b73a3
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册