Skip to content

Commit 4eb2934

Browse files
masahir0yLinus Walleij
authored andcommitted
pinctrl: make pinconf.h self-contained
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>
1 parent d664c43 commit 4eb2934

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎include/linux/pinctrl/pinconf.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
#ifdef CONFIG_PINCONF
1616

17+
#include <linux/types.h>
18+
1719
struct pinctrl_dev;
1820
struct seq_file;
1921

0 commit comments

Comments
 (0)