Skip to content

Commit

Permalink
pinctrl: make pinconf.h self-contained
Browse files Browse the repository at this point in the history
This header uses 'bool', but it does not include any header by itself.

So, it could cause unknown type name error, depending on the header
include order, although probably <linux/types.h> has been included by
someone else.

Include <linux/types.h> to make it self-contained.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Masahiro Yamada authored and Linus Walleij committed Jun 18, 2019
1 parent d664c43 commit 4eb2934
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/pinctrl/pinconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#ifdef CONFIG_PINCONF

#include <linux/types.h>

struct pinctrl_dev;
struct seq_file;

Expand Down

0 comments on commit 4eb2934

Please sign in to comment.