[PATCH 03/17] ARM i.MX: Add header protection

Sascha Hauer s.hauer at pengutronix.de
Tue Nov 2 13:17:16 EDT 2010


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/mach-imx/include/mach/imxfb.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-imx/include/mach/imxfb.h b/arch/arm/mach-imx/include/mach/imxfb.h
index 16b43ea..b71b7f4 100644
--- a/arch/arm/mach-imx/include/mach/imxfb.h
+++ b/arch/arm/mach-imx/include/mach/imxfb.h
@@ -1,3 +1,6 @@
+#ifndef __MACH_IMXFB_H
+#define __MACH_IMXFB_H
+
 /*
  * This structure describes the machine which we are running on.
  */
@@ -80,6 +83,8 @@ struct imx_fb_platform_data {
 
 void set_imx_fb_info(struct imx_fb_platform_data *);
 
+#endif /* __MACH_IMXFB_H */
+
 /**
  * @file
  * @brief i.MX related framebuffer declarations
-- 
1.7.2.3




More information about the barebox mailing list