summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-socfpga/include/mach
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2018-04-12 08:35:58 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2018-04-12 10:00:22 +0200
commitccc83ad6ef886834f5e0fe8352d64dfc6961f218 (patch)
tree682b39fdc9d1e58fb4139d097dfe9fae5f67ea07 /arch/arm/mach-socfpga/include/mach
parent5a99f0f354f53b50299aa775876b1bcf80add5d6 (diff)
downloadbarebox-ccc83ad6ef886834f5e0fe8352d64dfc6961f218.tar.gz
ARM: socfpga: mach/pll_config.h: add guard macro
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach')
-rw-r--r--arch/arm/mach-socfpga/include/mach/pll_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/pll_config.h b/arch/arm/mach-socfpga/include/mach/pll_config.h
index 1a7e851..d6fb60d 100644
--- a/arch/arm/mach-socfpga/include/mach/pll_config.h
+++ b/arch/arm/mach-socfpga/include/mach/pll_config.h
@@ -1,3 +1,5 @@
+#ifndef _MACH_SOCFPGA_PRELOADER_PLL_CONFIG_H_
+#define _MACH_SOCFPGA_PRELOADER_PLL_CONFIG_H_
#include <mach/cyclone5-clock-manager.h>
@@ -54,3 +56,5 @@ static struct socfpga_cm_config cm_default_cfg = {
.alteragrp_mpu = CONFIG_HPS_ALTERAGRP_MPUCLK,
.alteregrp_main = CONFIG_HPS_ALTERAGRP_MAINCLK,
};
+
+#endif /* _MACH_SOCFPGA_PRELOADER_PLL_CONFIG_H_ */