[coreboot-gerrit] New patch to review for coreboot: 36fea45 intel 'gma.h': Add missing header guards

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Fri Aug 1 13:46:18 CEST 2014


HAOUAS Elyes (ehaouas at noos.fr) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6446

-gerrit

commit 36fea45e62e02a6e3c30337d5c87961b98bcd67b
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Fri Aug 1 13:45:36 2014 +0200

    intel 'gma.h': Add missing header guards
    
    Change-Id: I2b712e7ed5c9244a813aa601574e992ce26792e9
    Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
 src/northbridge/intel/fsp_sandybridge/gma.h | 5 +++++
 src/northbridge/intel/haswell/gma.h         | 5 +++++
 src/northbridge/intel/sandybridge/gma.h     | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/src/northbridge/intel/fsp_sandybridge/gma.h b/src/northbridge/intel/fsp_sandybridge/gma.h
index cdf5d91..3c893f8 100644
--- a/src/northbridge/intel/fsp_sandybridge/gma.h
+++ b/src/northbridge/intel/fsp_sandybridge/gma.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef GMA_H
+#define GMA_H
+
 /* mailbox 0: header */
 typedef struct {
 	u8	signature[16];
@@ -165,3 +168,5 @@ typedef struct {
 } __attribute__((packed)) optionrom_vbt_t;
 
 #define VBT_SIGNATURE 0x54425624
+
+#endif /* GMA_H */
diff --git a/src/northbridge/intel/haswell/gma.h b/src/northbridge/intel/haswell/gma.h
index 29281ba..254d804 100644
--- a/src/northbridge/intel/haswell/gma.h
+++ b/src/northbridge/intel/haswell/gma.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef GMA_H
+#define GMA_H
+
 /* mailbox 0: header */
 typedef struct {
 	u8	signature[16];
@@ -165,3 +168,5 @@ typedef struct {
 } __attribute__((packed)) optionrom_vbt_t;
 
 #define VBT_SIGNATURE 0x54425624
+
+#endif /* GMA_H */
diff --git a/src/northbridge/intel/sandybridge/gma.h b/src/northbridge/intel/sandybridge/gma.h
index bc5d986..72bb601 100644
--- a/src/northbridge/intel/sandybridge/gma.h
+++ b/src/northbridge/intel/sandybridge/gma.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef GMA_H
+#define GMA_H
+
 /* mailbox 0: header */
 typedef struct {
 	u8	signature[16];
@@ -170,3 +173,5 @@ struct northbridge_intel_sandybridge_config;
 
 int i915lightup(const struct northbridge_intel_sandybridge_config *info,
 		u32 physbase, u16 pio, u32 mmio, u32 lfb);
+
+#endif /* GMA_H */



More information about the coreboot-gerrit mailing list