summaryrefslogtreecommitdiff
path: root/src/superio/smsc/fdc37n972
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-11-08 20:55:24 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-11-08 20:55:24 +0000
commit7fa0819ecf076c283c942d4af5e9bcfaf8c4bd49 (patch)
tree523f6bd8880d1ccd39e97067feafc2bfb625d22e /src/superio/smsc/fdc37n972
parentf648d619c994f856d6ca7d86fe18c532a974d31b (diff)
Add #include guards to all Super I/O header files (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6049 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/smsc/fdc37n972')
-rw-r--r--src/superio/smsc/fdc37n972/chip.h6
-rw-r--r--src/superio/smsc/fdc37n972/fdc37n972.h4
2 files changed, 7 insertions, 3 deletions
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 <device/device.h>
#include <pc80/keyboard.h>
@@ -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