Pinctrl header: trivial: declare struct device
PATCH 1/1 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 <[email protected]>
--- include/linux/pinctrl/consumer.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/pinctrl/consumer.h +1 -0
@@ -20,6 +20,7 @@/* This struct is private to the core and should be regarded as a cookie */ struct pinctrl ;struct pinctrl_state ; +struct device ;#ifdef CONFIG_PINCTRL
Signature · 1 line
1.7.2.5
Linus Walleij
AppliedQuoted 4 lines · Richard Genoud
As struct device is used as a function argument, it should at least be declared (
device.his not included).Signed-off-by Richard Genoud <[email protected]>
Applied.
Thanks,
Linus Walleij