[coreboot-gerrit] New patch to review for coreboot: 4ddc1a2 lenovo t520 & x60: Add missing header guards

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Fri Aug 1 15:05:11 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/6454

-gerrit

commit 4ddc1a2161b662a1dbb7289f7a95cc1ea537761e
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Fri Aug 1 15:04:27 2014 +0200

    lenovo t520 & x60: Add missing header guards
    
    Change-Id: I4fe91c17aa3980ef826cafbb875ab711ad843952
    Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
 src/mainboard/lenovo/t520/smi.h   | 2 +-
 src/mainboard/lenovo/x60/i915io.h | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/lenovo/t520/smi.h b/src/mainboard/lenovo/t520/smi.h
index f7ffb41..f99fae5 100644
--- a/src/mainboard/lenovo/t520/smi.h
+++ b/src/mainboard/lenovo/t520/smi.h
@@ -17,4 +17,4 @@
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
\ No newline at end of file
+ */
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