Преглед изворни кода

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>
Richard Genoud пре 13 година
родитељ
комит
ac5aa7f9e0
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      include/linux/pinctrl/consumer.h

+ 1 - 0
include/linux/pinctrl/consumer.h

@@ -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