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/lpc47n217/chip.h | 5 +++++ src/superio/smsc/lpc47n217/lpc47n217.h | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'src/superio/smsc/lpc47n217') diff --git a/src/superio/smsc/lpc47n217/chip.h b/src/superio/smsc/lpc47n217/chip.h index 4369c263bd..0eda25f6b1 100644 --- a/src/superio/smsc/lpc47n217/chip.h +++ b/src/superio/smsc/lpc47n217/chip.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_SMSC_LPC47N217_CHIP_H +#define SUPERIO_SMSC_LPC47N217_CHIP_H + struct chip_operations; extern struct chip_operations superio_smsc_lpc47n217_ops; @@ -26,3 +29,5 @@ extern struct chip_operations superio_smsc_lpc47n217_ops; struct superio_smsc_lpc47n217_config { struct uart8250 com1, com2; }; + +#endif diff --git a/src/superio/smsc/lpc47n217/lpc47n217.h b/src/superio/smsc/lpc47n217/lpc47n217.h index 3795821129..e0ee010c35 100644 --- a/src/superio/smsc/lpc47n217/lpc47n217.h +++ b/src/superio/smsc/lpc47n217/lpc47n217.h @@ -18,12 +18,17 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/* These are arbitrary, but must match declarations in the mainboard config file. - * Values chosen to match SMSC 47B37x. - */ +#ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H +#define SUPERIO_SMSC_LPC47N217_LPC47N217_H +/* + * These are arbitrary, but must match declarations in the mainboard + * devicetree.cb file. Values chosen to match SMSC LPC47B37x. + */ #define LPC47N217_PP 3 /* Parallel Port */ #define LPC47N217_SP1 4 /* Com1 */ #define LPC47N217_SP2 5 /* Com2 */ #define LPC47N217_MAX_CONFIG_REGISTER 0x39 + +#endif -- cgit v1.2.3