From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 3/4] ARM i.MX: Add double include protection for generic.h
Date: Sun, 10 Mar 2013 11:19:20 +0100 [thread overview]
Message-ID: <1362910761-1732-4-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1362910761-1732-1-git-send-email-s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-imx/include/mach/generic.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/include/mach/generic.h b/arch/arm/mach-imx/include/mach/generic.h
index 5e600a3..1f0fce2 100644
--- a/arch/arm/mach-imx/include/mach/generic.h
+++ b/arch/arm/mach-imx/include/mach/generic.h
@@ -1,3 +1,5 @@
+#ifndef __MACH_GENERIC_H
+#define __MACH_GENERIC_H
u64 imx_uid(void);
@@ -82,3 +84,5 @@ int imx6_boot_save_loc(void __iomem *src_base);
#define cpu_is_mx23() (0)
#define cpu_is_mx28() (0)
+
+#endif /* __MACH_GENERIC_H */
--
1.8.2.rc2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-03-10 10:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-10 10:19 [PATCH] misc cleanups Sascha Hauer
2013-03-10 10:19 ` [PATCH 1/4] include asm/sections.h instead of asm-generic/sections.h Sascha Hauer
2013-03-10 10:19 ` [PATCH 2/4] MMC i.MX: remove unnecessary mach include Sascha Hauer
2013-03-10 10:19 ` Sascha Hauer [this message]
2013-03-10 10:19 ` [PATCH 4/4] ARM: Add missing barebox_arm_boarddata function 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=1362910761-1732-4-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--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