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/fintek/f71805f/chip.h | 5 +++++ src/superio/fintek/f71805f/f71805f.h | 5 +++++ src/superio/fintek/f71859/chip.h | 5 +++++ src/superio/fintek/f71859/f71859.h | 5 ++++- src/superio/fintek/f71863fg/chip.h | 5 +++++ src/superio/fintek/f71863fg/f71863fg.h | 5 +++++ src/superio/fintek/f71889/chip.h | 5 +++++ src/superio/fintek/f71889/f71889.h | 5 +++++ 8 files changed, 39 insertions(+), 1 deletion(-) (limited to 'src/superio/fintek') diff --git a/src/superio/fintek/f71805f/chip.h b/src/superio/fintek/f71805f/chip.h index 89d8af620b..3ab1a7c2e2 100644 --- a/src/superio/fintek/f71805f/chip.h +++ b/src/superio/fintek/f71805f/chip.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_FINTEK_F71805F_CHIP_H +#define SUPERIO_FINTEK_F71805F_CHIP_H + #include #include @@ -28,3 +31,5 @@ extern struct chip_operations superio_fintek_f71805f_ops; struct superio_fintek_f71805f_config { struct uart8250 com1, com2; }; + +#endif diff --git a/src/superio/fintek/f71805f/f71805f.h b/src/superio/fintek/f71805f/f71805f.h index 00e284ebb5..932e453c07 100644 --- a/src/superio/fintek/f71805f/f71805f.h +++ b/src/superio/fintek/f71805f/f71805f.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_FINTEK_F71805F_F71805F_H +#define SUPERIO_FINTEK_F71805F_F71805F_H + /* * Datasheet: * - Name: F71805F/FG Super H/W Monitor + LPC IO @@ -34,3 +37,5 @@ #define F71805F_HWM 0x04 /* Hardware monitor */ #define F71805F_GPIO 0x06 /* General Purpose I/O (GPIO) */ #define F71805F_PME 0x0a /* Power Management Events (PME) */ + +#endif diff --git a/src/superio/fintek/f71859/chip.h b/src/superio/fintek/f71859/chip.h index d823c45053..a0de2d5982 100755 --- a/src/superio/fintek/f71859/chip.h +++ b/src/superio/fintek/f71859/chip.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_FINTEK_F71859_CHIP_H +#define SUPERIO_FINTEK_F71859_CHIP_H + #include #include @@ -26,3 +29,5 @@ extern struct chip_operations superio_fintek_f71859_ops; struct superio_fintek_f71859_config { struct uart8250 com1, com2; }; + +#endif diff --git a/src/superio/fintek/f71859/f71859.h b/src/superio/fintek/f71859/f71859.h index 74c108e878..b9aed6e0ff 100755 --- a/src/superio/fintek/f71859/f71859.h +++ b/src/superio/fintek/f71859/f71859.h @@ -18,7 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/* Logical Device Numbers (LDN). */ +#ifndef SUPERIO_FINTEK_F71859_F71859_H +#define SUPERIO_FINTEK_F71859_F71859_H +/* Logical Device Numbers (LDN). */ #define F71859_SP1 0x03 /* UART1 */ +#endif diff --git a/src/superio/fintek/f71863fg/chip.h b/src/superio/fintek/f71863fg/chip.h index 0fea0a30d1..5ccfa5bd76 100644 --- a/src/superio/fintek/f71863fg/chip.h +++ b/src/superio/fintek/f71863fg/chip.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_FINTEK_F71863FG_CHIP_H +#define SUPERIO_FINTEK_F71863FG_CHIP_H + #include #include #include @@ -28,3 +31,5 @@ struct superio_fintek_f71863fg_config { struct uart8250 com1, com2; struct pc_keyboard keyboard; }; + +#endif diff --git a/src/superio/fintek/f71863fg/f71863fg.h b/src/superio/fintek/f71863fg/f71863fg.h index 487f76854d..a36f71ccdd 100644 --- a/src/superio/fintek/f71863fg/f71863fg.h +++ b/src/superio/fintek/f71863fg/f71863fg.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_FINTEK_F71863FG_F71863FG_H +#define SUPERIO_FINTEK_F71863FG_F71863FG_H + /* Logical Device Numbers (LDN). */ #define F71863FG_FDC 0x00 /* Floppy */ #define F71863FG_SP1 0x01 /* UART1 */ @@ -29,3 +32,5 @@ #define F71863FG_VID 0x07 /* VID */ #define F71863FG_SPI 0x08 /* SPI */ #define F71863FG_PME 0x0a /* Power Management Events (PME) and ACPI */ + +#endif diff --git a/src/superio/fintek/f71889/chip.h b/src/superio/fintek/f71889/chip.h index 50437450a4..b4357b2018 100644 --- a/src/superio/fintek/f71889/chip.h +++ b/src/superio/fintek/f71889/chip.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_FINTEK_F71889_CHIP_H +#define SUPERIO_FINTEK_F71889_CHIP_H + #include #include #include @@ -28,3 +31,5 @@ struct superio_fintek_f71889_config { struct uart8250 com1, com2; struct pc_keyboard keyboard; }; + +#endif diff --git a/src/superio/fintek/f71889/f71889.h b/src/superio/fintek/f71889/f71889.h index f1dde6f203..a7ce3f60ef 100644 --- a/src/superio/fintek/f71889/f71889.h +++ b/src/superio/fintek/f71889/f71889.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_FINTEK_F71889_F71889_H +#define SUPERIO_FINTEK_F71889_F71889_H + /* Logical Device Numbers (LDN). */ #define F71889_FDC 0x00 /* Floppy */ #define F71889_SP1 0x01 /* UART1 */ @@ -30,3 +33,5 @@ #define F71889_SPI 0x08 /* SPI */ #define F71889_PME 0x0a /* Power Management Events (PME) and ACPI */ #define F71889_VREF 0x0b /* Vref */ + +#endif -- cgit v1.2.3