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/lpc47n227/chip.h | 5 +++++ src/superio/smsc/lpc47n227/lpc47n227.h | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'src/superio/smsc/lpc47n227') diff --git a/src/superio/smsc/lpc47n227/chip.h b/src/superio/smsc/lpc47n227/chip.h index ef1030751e..b2d0a9218f 100644 --- a/src/superio/smsc/lpc47n227/chip.h +++ b/src/superio/smsc/lpc47n227/chip.h @@ -17,6 +17,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_SMSC_LPC47N227_CHIP_H +#define SUPERIO_SMSC_LPC47N227_CHIP_H + #include #include #include @@ -27,3 +30,5 @@ struct superio_smsc_lpc47n227_config { struct uart8250 com1, com2; struct pc_keyboard keyboard; }; + +#endif diff --git a/src/superio/smsc/lpc47n227/lpc47n227.h b/src/superio/smsc/lpc47n227/lpc47n227.h index 769b5beadb..99097a497f 100644 --- a/src/superio/smsc/lpc47n227/lpc47n227.h +++ b/src/superio/smsc/lpc47n227/lpc47n227.h @@ -17,6 +17,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_SMSC_LPC47N227_LPC47N227_H +#define SUPERIO_SMSC_LPC47N227_LPC47N227_H + /* * Since the LPC47N227 does not have logical devices but a flat configuration * space, these are arbitrary, but must match declarations in the mainboard @@ -28,3 +31,5 @@ #define LPC47N227_KBDC 5 /* Keyboard */ #define LPC47N227_MAX_CONFIG_REGISTER 0x39 + +#endif -- cgit v1.2.3