[coreboot-gerrit] New patch to review for coreboot: bfa5d12 superio/smsc: Add some missing header guards
Edward O'Callaghan (eocallaghan@alterapraxis.com)
gerrit at coreboot.org
Thu Jul 17 22:39:02 CEST 2014
Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6302
-gerrit
commit bfa5d1235848d238a0cbfa56aa3f5b4e0893f915
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date: Fri Jul 18 06:37:27 2014 +1000
superio/smsc: Add some missing header guards
Change-Id: Id3f85929024208b150c378d7636607a0c9b8617c
Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
src/superio/smsc/mec1308/mec1308.h | 5 +++++
src/superio/smsc/sio1036/sio1036.h | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/src/superio/smsc/mec1308/mec1308.h b/src/superio/smsc/mec1308/mec1308.h
index a242153..506f2b3 100644
--- a/src/superio/smsc/mec1308/mec1308.h
+++ b/src/superio/smsc/mec1308/mec1308.h
@@ -17,6 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_SMSC_MEC1308_H
+#define SUPERIO_SMSC_MEC1308_H
+
#define MEC1308_PM1 1
#define MEC1308_EC1 2
#define MEC1308_EC2 3
@@ -24,3 +27,5 @@
#define MEC1308_KBC 7
#define MEC1308_EC0 8
#define MEC1308_MBX 9
+
+#endif /* SUPERIO_SMSC_MEC1308_H */
diff --git a/src/superio/smsc/sio1036/sio1036.h b/src/superio/smsc/sio1036/sio1036.h
index a926ca4..e61b600 100644
--- a/src/superio/smsc/sio1036/sio1036.h
+++ b/src/superio/smsc/sio1036/sio1036.h
@@ -17,8 +17,13 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_SMSC_SIO1306_H
+#define SUPERIO_SMSC_SIO1306_H
+
#define SIO1036_SP1 0 /* Com1 */
#define UART_POWER_DOWN (1 << 7)
#define LPT_POWER_DOWN (1 << 2)
#define IR_OUPUT_MUX (1 << 6)
+
+#endif /* SUPERIO_SMSC_1306_H */
More information about the coreboot-gerrit
mailing list