Skip to contentSkip to conversation

Pinctrl header: trivial: declare struct device

PATCH Applied Richard Genoud 2 participants 2 messages Aug 10, 2012 – Aug 13, 2012 Pin control

lore
Share & tools
lore
#0 lore raw

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).

---
 include/linux/pinctrl/consumer.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/pinctrl/consumer.h +1 -0
index 6dd96fb..e9b7f43 100644
@@ -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