diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-08-10 16:52:58 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-08-17 11:09:58 +0200 |
commit | ac5aa7f9e0891a115ab307b4bdde9c55b9232970 (patch) | |
tree | b8c9327181209368ec60e6085d5f67bc5e176e8b | |
parent | d1a83d3b1729ac53ebcc6134f0d88faa311c42b9 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pinctrl/consumer.h b/include/linux/pinctrl/consumer.h index 6dd96fb4548..e9b7f435084 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 |