Skip to content

Commit

Permalink
pinctrl: header: trivial: declare struct device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Genoud authored and Linus Walleij committed Aug 17, 2012
1 parent d1a83d3 commit ac5aa7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/pinctrl/consumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ac5aa7f

Please sign in to comment.