From: Richard Genoud Date: Fri, 10 Aug 2012 14:52:58 +0000 (+0200) Subject: pinctrl: header: trivial: declare struct device X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac5aa7f9e0891a115ab307b4bdde9c55b9232970;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Linus Walleij --- diff --git a/include/linux/pinctrl/consumer.h b/include/linux/pinctrl/consumer.h index 6dd96fb45482..e9b7f4350844 100644 --- a/include/linux/pinctrl/consumer.h +++ b/include/linux/pinctrl/consumer.h @@ -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