mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH 3/4] ARM: socfpga: mach/pll_config.h: add guard macro
Date: Thu, 12 Apr 2018 08:35:58 +0300	[thread overview]
Message-ID: <20180412053559.30687-4-antonynpavlov@gmail.com> (raw)
In-Reply-To: <20180412053559.30687-1-antonynpavlov@gmail.com>

Signed-off-by: Antony Pavlov <antonynpavlov@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2018-04-12  5:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-12  5:35 [PATCH 0/4] ARM: socfpga: misc fixes Antony Pavlov
2018-04-12  5:35 ` [PATCH 1/4] net: make SoCFPGA-specific designware driver work again Antony Pavlov
2018-04-12  5:35 ` [PATCH 2/4] ARM: socfpga: boards: pll_config.h: remove duplicate macros Antony Pavlov
2018-04-12  5:35 ` Antony Pavlov [this message]
2018-04-12  5:35 ` [PATCH 4/4] ARM: socfpga_defconfig: enable Altera firmware stuff Antony Pavlov
2018-04-12  8:00 ` [PATCH 0/4] ARM: socfpga: misc fixes Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180412053559.30687-4-antonynpavlov@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox