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/fdc37n972/chip.h | 6 +++--- src/superio/smsc/fdc37n972/fdc37n972.h | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'src/superio/smsc/fdc37n972') diff --git a/src/superio/smsc/fdc37n972/chip.h b/src/superio/smsc/fdc37n972/chip.h index c486a7305a..0d8c18a8cb 100644 --- a/src/superio/smsc/fdc37n972/chip.h +++ b/src/superio/smsc/fdc37n972/chip.h @@ -17,8 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _SUPERIO_SMSC_FDC37N972 -#define _SUPERIO_SMSC_FDC37N972 +#ifndef SUPERIO_SMSC_FDC37N972_CHIP_H +#define SUPERIO_SMSC_FDC37N972_CHIP_H #include #include @@ -31,5 +31,5 @@ struct superio_smsc_fdc37n972_config { struct pc_keyboard keyboard; }; -#endif /* _SUPERIO_SMSC_FDC37N972 */ +#endif diff --git a/src/superio/smsc/fdc37n972/fdc37n972.h b/src/superio/smsc/fdc37n972/fdc37n972.h index 0825fc9be2..91b3410408 100644 --- a/src/superio/smsc/fdc37n972/fdc37n972.h +++ b/src/superio/smsc/fdc37n972/fdc37n972.h @@ -17,6 +17,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_SMSC_FDC37N972_FDC37N972_H +#define SUPERIO_SMSC_FDC37N972_FDC37N972_H + #define FDC37N972_FDC 0x00 /* Floppy */ #define FDC37N972_PP 0x03 /* Parallel port */ #define FDC37N972_SP1 0x04 /* Serial port 1 */ @@ -26,3 +29,4 @@ #define FDC37N972_EC 0x08 /* Environmental Controller */ #define FDC37N972_MBX 0x09 /* Mailbox register */ +#endif -- cgit v1.2.3