[coreboot-gerrit] New patch to review for coreboot: 6a33acd mainboard/technexion: Add missing header guards
HAOUAS Elyes (ehaouas@noos.fr)
gerrit at coreboot.org
Fri Aug 1 14:48:53 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/6452
-gerrit
commit 6a33acdde33e8b3edba9b544511807bf17a7e5dd
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date: Fri Aug 1 14:48:32 2014 +0200
mainboard/technexion: Add missing header guards
Change-Id: Ifec86806510a84047c0579fd410dcc075a3ad973
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
src/mainboard/technexion/tim5690/speaker.h | 5 ++++-
src/mainboard/technexion/tim5690/tn_post_code.h | 5 +++++
src/mainboard/technexion/tim5690/vgabios.h | 5 +++++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/technexion/tim5690/speaker.h b/src/mainboard/technexion/tim5690/speaker.h
index e4a5fd0..cd93153 100644
--- a/src/mainboard/technexion/tim5690/speaker.h
+++ b/src/mainboard/technexion/tim5690/speaker.h
@@ -17,9 +17,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
+#ifndef SPEAKER_H
+#define SPEAKER_H
void speaker_init(uint8_t time);
void speaker_on_nodelay(void);
void speaker_off_nodelay(void);
void speaker_on_delay(void);
void speaker_off_delay(void);
+
+#endif /* SPEAKER_H */
diff --git a/src/mainboard/technexion/tim5690/tn_post_code.h b/src/mainboard/technexion/tim5690/tn_post_code.h
index 46d7382..7f43071 100644
--- a/src/mainboard/technexion/tim5690/tn_post_code.h
+++ b/src/mainboard/technexion/tim5690/tn_post_code.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef TN_POST_CODE_H
+#define TN_POST_CODE_H
+
#define LED_MESSAGE_START 0xFF
#define LED_MESSAGE_FINISH 0x99
#define LED_MESSAGE_RAM 0x01
@@ -31,3 +34,5 @@ void technexion_post_code_init(void);
#endif
void technexion_post_code(uint8_t udata8);
+
+#endif /* TN_POST_CODE_H */
diff --git a/src/mainboard/technexion/tim5690/vgabios.h b/src/mainboard/technexion/tim5690/vgabios.h
index a353011..500d536 100644
--- a/src/mainboard/technexion/tim5690/vgabios.h
+++ b/src/mainboard/technexion/tim5690/vgabios.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef VGABIOS_H
+#define VGABIOS_H
+
/* AMD Chipset */
#define AMD_RS690_INT15 0x4E08
@@ -35,3 +38,5 @@ typedef struct __rs690_vbios_regs__
/* Initialization VBIOS function */
extern void vgabios_init(rs690_vbios_regs *vbios_regs);
+
+#endif /* VGABIOS_H */
More information about the coreboot-gerrit
mailing list