summaryrefslogtreecommitdiff
path: root/src/superio/smsc
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-07-18 06:37:27 +1000
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-07-18 14:42:03 +0200
commit031cf214c6626677312f25cd17ed391d8aec4b79 (patch)
treec727c83ae6d54c9335ee4d65e912d97d847fa36d /src/superio/smsc
parentae141dd91b7960dd6ed87d57ad4dad0e06eb709e (diff)
superio/smsc: Add some missing header guards
Change-Id: Id3f85929024208b150c378d7636607a0c9b8617c Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6302 Reviewed-by: Idwer Vollering <vidwer@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/superio/smsc')
-rw-r--r--src/superio/smsc/mec1308/mec1308.h5
-rw-r--r--src/superio/smsc/sio1036/sio1036.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/superio/smsc/mec1308/mec1308.h b/src/superio/smsc/mec1308/mec1308.h
index a24215383b..506f2b377a 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 a926ca48e0..e61b600f5a 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 */