From 7fa0819ecf076c283c942d4af5e9bcfaf8c4bd49 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 8 Nov 2010 20:55:24 +0000 Subject: Add #include guards to all Super I/O header files (trivial). Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6049 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/smsc/lpc47m10x/chip.h | 5 +++++ src/superio/smsc/lpc47m10x/lpc47m10x.h | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'src/superio/smsc/lpc47m10x') diff --git a/src/superio/smsc/lpc47m10x/chip.h b/src/superio/smsc/lpc47m10x/chip.h index abd21be926..ace92f1c2f 100644 --- a/src/superio/smsc/lpc47m10x/chip.h +++ b/src/superio/smsc/lpc47m10x/chip.h @@ -22,6 +22,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_SMSC_LPC47M10X_CHIP_H +#define SUPERIO_SMSC_LPC47M10X_CHIP_H + struct chip_operations; extern struct chip_operations superio_smsc_lpc47m10x_ops; @@ -32,3 +35,5 @@ struct superio_smsc_lpc47m10x_config { struct uart8250 com1, com2; struct pc_keyboard keyboard; }; + +#endif diff --git a/src/superio/smsc/lpc47m10x/lpc47m10x.h b/src/superio/smsc/lpc47m10x/lpc47m10x.h index 2fd4ba76b4..604016c0e0 100644 --- a/src/superio/smsc/lpc47m10x/lpc47m10x.h +++ b/src/superio/smsc/lpc47m10x/lpc47m10x.h @@ -20,6 +20,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_SMSC_LPC47M10X_LPC47M10X_H +#define SUPERIO_SMSC_LPC47M10X_LPC47M10X_H + #define LPC47M10X2_FDC 0 /* Floppy */ #define LPC47M10X2_PP 3 /* Parallel Port */ #define LPC47M10X2_SP1 4 /* Com1 */ @@ -30,3 +33,5 @@ #define LPC47M10X2_MPU 10 /* MPE -- who knows -- reg*/ #define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F + +#endif -- cgit v1.2.3