pinctrl: header: trivial: declare struct device
As struct device is used as a function argument, it should at least be declared (device.h is not included). Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
d1a83d3b17
commit
ac5aa7f9e0
@ -20,6 +20,7 @@
|
|||||||
/* This struct is private to the core and should be regarded as a cookie */
|
/* This struct is private to the core and should be regarded as a cookie */
|
||||||
struct pinctrl;
|
struct pinctrl;
|
||||||
struct pinctrl_state;
|
struct pinctrl_state;
|
||||||
|
struct device;
|
||||||
|
|
||||||
#ifdef CONFIG_PINCTRL
|
#ifdef CONFIG_PINCTRL
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user