2019-08-20 03:08:59

by Masahiro Yamada

[permalink] [raw]
Subject: [PATCH] clk: add include guard to clk-conf.h

Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <[email protected]>
---

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

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 <[email protected]>
*/

+#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 */
--
2.17.1


2019-09-17 19:14:15

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: add include guard to clk-conf.h

Quoting Masahiro Yamada (2019-08-19 20:05:36)
> Add a header include guard just in case.
>
> Signed-off-by: Masahiro Yamada <[email protected]>
> ---

Applied to clk-next