pinctrl: pinctrl-single: add header include guard
diff mbox series

Message ID 20190720115858.7015-1-yamada.masahiro@socionext.com
State In Next
Commit 3d6ade0abfe1ac833b525349ade156a269979cf0
Headers show
Series
  • pinctrl: pinctrl-single: add header include guard
Related show

Commit Message

Masahiro Yamada July 20, 2019, 11:58 a.m. UTC
Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 include/linux/platform_data/pinctrl-single.h | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Linus Walleij Aug. 5, 2019, 9:09 a.m. UTC | #1
On Sat, Jul 20, 2019 at 1:59 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:

> Add a header include guard just in case.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Patch applied.

Yours,
Linus Walleij

Patch
diff mbox series

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 */