]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
pinctrl: make pinconf.h self-contained
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 13 Jun 2019 01:55:32 +0000 (10:55 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Jun 2019 11:44:41 +0000 (13:44 +0200)
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>
include/linux/pinctrl/pinconf.h

index 93c9dd133e9d1a55ca62d68f7f752ddf001b8051..9bebc35548096c85b06bbdb8b50b3883065c08e0 100644 (file)
@@ -14,6 +14,8 @@
 
 #ifdef CONFIG_PINCONF
 
+#include <linux/types.h>
+
 struct pinctrl_dev;
 struct seq_file;