diff mbox series

clk: add include guard to clk-conf.h

Message ID 20190820030536.1181-1-yamada.masahiro@socionext.com
State Accepted
Commit d7aef6ef96e9ffa93e6248e21d864ce74e3b8b7d
Headers show
Series clk: add include guard to clk-conf.h | expand

Commit Message

Masahiro Yamada Aug. 20, 2019, 3:05 a.m. UTC
Add a header include guard just in case.

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

---

 include/linux/clk/clk-conf.h | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.17.1

Comments

Stephen Boyd Sept. 17, 2019, 5:27 p.m. UTC | #1
Quoting Masahiro Yamada (2019-08-19 20:05:36)
> Add a header include guard just in case.

> 

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

> ---


Applied to clk-next
diff mbox series

Patch

diff --git a/include/linux/clk/clk-conf.h b/include/linux/clk/clk-conf.h
index 85f8cf9d1226..eae9652c70cd 100644
--- a/include/linux/clk/clk-conf.h
+++ b/include/linux/clk/clk-conf.h
@@ -4,6 +4,9 @@ 
  * Sylwester Nawrocki <s.nawrocki@samsung.com>
  */
 
+#ifndef __CLK_CONF_H
+#define __CLK_CONF_H
+
 #include <linux/types.h>
 
 struct device_node;
@@ -17,3 +20,5 @@  static inline int of_clk_set_defaults(struct device_node *node,
 	return 0;
 }
 #endif
+
+#endif /* __CLK_CONF_H */