summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2012-08-10 18:52:58 +0400
committerLinus Walleij <linus.walleij@linaro.org>2012-08-17 13:09:58 +0400
commitac5aa7f9e0891a115ab307b4bdde9c55b9232970 (patch)
treeb8c9327181209368ec60e6085d5f67bc5e176e8b
parentd1a83d3b1729ac53ebcc6134f0d88faa311c42b9 (diff)
downloadlinux-ac5aa7f9e0891a115ab307b4bdde9c55b9232970.tar.xz
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>
-rw-r--r--include/linux/pinctrl/consumer.h1
1 files changed, 1 insertions, 0 deletions
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