mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +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:
parent
d664c43958
commit
4eb293487d
@ -14,6 +14,8 @@
|
||||
|
||||
#ifdef CONFIG_PINCONF
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct pinctrl_dev;
|
||||
struct seq_file;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user