linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pinctrl: pinctrl-single: add header include guard
@ 2019-07-20 11:58 Masahiro Yamada
  2019-08-05  9:09 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2019-07-20 11:58 UTC (permalink / raw)
  To: linux-gpio, Linus Walleij; +Cc: Masahiro Yamada, linux-kernel

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(+)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] pinctrl: pinctrl-single: add header include guard
  2019-07-20 11:58 [PATCH] pinctrl: pinctrl-single: add header include guard Masahiro Yamada
@ 2019-08-05  9:09 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2019-08-05  9:09 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: open list:GPIO SUBSYSTEM, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-05  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-20 11:58 [PATCH] pinctrl: pinctrl-single: add header include guard Masahiro Yamada
2019-08-05  9:09 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).