[coreboot-gerrit] New patch to review for coreboot: 3c0071c 'i915io.h': Add missing header guardsAdd missing header guards

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Fri Aug 1 13:35:49 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/6444

-gerrit

commit 3c0071cfda7ffc13810a8d19975c0adc2ff68698
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Fri Aug 1 13:35:15 2014 +0200

    'i915io.h': Add missing header guardsAdd missing header guards
    
    Change-Id: I2198cdb773c623afee22ecaa79b2f32bfafa0382
    Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
 src/mainboard/google/link/i915io.h | 5 +++++
 src/mainboard/lenovo/x60/i915io.h  | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/src/mainboard/google/link/i915io.h b/src/mainboard/google/link/i915io.h
index 6533c81..ec77f70 100644
--- a/src/mainboard/google/link/i915io.h
+++ b/src/mainboard/google/link/i915io.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef I915IO_H
+#define I915IO_H
+
 #include "i915_reg.h"
 #include "drm_dp_helper.h"
 
@@ -84,3 +87,5 @@ u32 pack_aux(u32 *src, int src_bytes);
 void unpack_aux(u32 src, u32 *dst, int dst_bytes);
 int intel_dp_aux_ch(u32 ch_ctl, u32 ch_data, u32 *send, int send_bytes,
 	u32 *recv, int recv_size);
+
+#endif /* I915IO_H */
diff --git a/src/mainboard/lenovo/x60/i915io.h b/src/mainboard/lenovo/x60/i915io.h
index 8f37d9b..e45b1dd 100644
--- a/src/mainboard/lenovo/x60/i915io.h
+++ b/src/mainboard/lenovo/x60/i915io.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef I915IO_H
+#define I915IO_H
+
 #include "i915_reg.h"
 #include "drm_dp_helper.h"
 
@@ -84,3 +87,5 @@ u32 pack_aux(u32 *src, int src_bytes);
 void unpack_aux(u32 src, u32 *dst, int dst_bytes);
 int intel_dp_aux_ch(u32 ch_ctl, u32 ch_data, u32 *send, int send_bytes,
 	u32 *recv, int recv_size);
+
+#endif /* I915IO_H */



More information about the coreboot-gerrit mailing list