2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00

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>
This commit is contained in:
Masahiro Yamada 2019-06-13 10:55:32 +09:00 committed by Linus Walleij
parent d664c43958
commit 4eb293487d

View File

@ -14,6 +14,8 @@
#ifdef CONFIG_PINCONF
#include <linux/types.h>
struct pinctrl_dev;
struct seq_file;