[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190720115858.7015-1-yamada.masahiro@socionext.com>
Date: Sat, 20 Jul 2019 20:58:58 +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] pinctrl: pinctrl-single: add header include guard
Add a header include guard just in case.
Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
---
include/linux/platform_data/pinctrl-single.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/linux/platform_data/pinctrl-single.h b/include/linux/platform_data/pinctrl-single.h
index 1cf36fdf9510..7473d3c4cabf 100644
--- a/include/linux/platform_data/pinctrl-single.h
+++ b/include/linux/platform_data/pinctrl-single.h
@@ -1,4 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef _PINCTRL_SINGLE_H
+#define _PINCTRL_SINGLE_H
+
/**
* irq: optional wake-up interrupt
* rearm: optional soc specific rearm function
@@ -11,3 +15,5 @@ struct pcs_pdata {
int irq;
void (*rearm)(void);
};
+
+#endif /* _PINCTRL_SINGLE_H */
--
2.17.1
Powered by blists - more mailing lists