summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-02-12 15:00:06 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-13 11:55:32 +0100
commit76543f189445daa5a1e64eebb9ab0f093a627ba6 (patch)
tree0453427cf170e20c4ff83d187e18a6e0a6d842eb /include/linux
parenta6bd302075aaecdc3d0e1836a725c0d09c9ad2ec (diff)
downloadbarebox-76543f189445daa5a1e64eebb9ab0f093a627ba6.tar.gz
barebox-76543f189445daa5a1e64eebb9ab0f093a627ba6.tar.xz
clk-conf.h: Add missing re-inclusion protection
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/clk/clk-conf.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/clk/clk-conf.h b/include/linux/clk/clk-conf.h
index 8f4382e6c6..ac6cfdf711 100644
--- a/include/linux/clk/clk-conf.h
+++ b/include/linux/clk/clk-conf.h
@@ -6,12 +6,15 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-
-#if defined(CONFIG_OFTREE) && defined(CONFIG_COMMON_CLK_OF_PROVIDER)
+#ifndef __CLK_CONF_H
+#define __CLK_CONF_H
#include <linux/types.h>
+#if defined(CONFIG_OFTREE) && defined(CONFIG_COMMON_CLK_OF_PROVIDER)
+
struct device_node;
int of_clk_set_defaults(struct device_node *node, bool clk_supplier);
#endif
+#endif /* __CLK_CONF_H */