[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190613015532.19685-2-yamada.masahiro@socionext.com>
Date: Thu, 13 Jun 2019 10:55:32 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: linux-gpio@...r.kernel.org,
Linus Walleij <linus.walleij@...aro.org>
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] 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@...ionext.com>
---
include/linux/pinctrl/pinconf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/pinctrl/pinconf.h b/include/linux/pinctrl/pinconf.h
index eb16a1e0bcfa..f8a8215e9021 100644
--- a/include/linux/pinctrl/pinconf.h
+++ b/include/linux/pinctrl/pinconf.h
@@ -11,6 +11,8 @@
#ifndef __LINUX_PINCTRL_PINCONF_H
#define __LINUX_PINCTRL_PINCONF_H
+#include <linux/types.h>
+
struct pinctrl_dev;
struct seq_file;
--
2.17.1
Powered by blists - more mailing lists