[PATCH 3/4] ARM: socfpga: mach/pll_config.h: add guard macro

Antony Pavlov antonynpavlov at gmail.com
Wed Apr 11 22:35:58 PDT 2018


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 arch/arm/mach-socfpga/include/mach/pll_config.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/mach-socfpga/include/mach/pll_config.h b/arch/arm/mach-socfpga/include/mach/pll_config.h
index 1a7e851eda..d6fb60dd24 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_ */
-- 
2.17.0




More information about the barebox mailing list