summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc87417
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/nsc/pc87417
parentf648d619c994f856d6ca7d86fe18c532a974d31b (diff)
downloadcoreboot-7fa0819ecf076c283c942d4af5e9bcfaf8c4bd49.tar.xz
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/nsc/pc87417')
-rw-r--r--src/superio/nsc/pc87417/chip.h5
-rw-r--r--src/superio/nsc/pc87417/pc87417.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/src/superio/nsc/pc87417/chip.h b/src/superio/nsc/pc87417/chip.h
index f2bc6f8da5..1b661ef8af 100644
--- a/src/superio/nsc/pc87417/chip.h
+++ b/src/superio/nsc/pc87417/chip.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_NSC_PC87417_CHIP_H
+#define SUPERIO_NSC_PC87417_CHIP_H
+
extern struct chip_operations superio_nsc_pc87417_ops;
#include <pc80/keyboard.h>
@@ -29,3 +32,5 @@ struct superio_nsc_pc87417_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/nsc/pc87417/pc87417.h b/src/superio/nsc/pc87417/pc87417.h
index bc65eef554..c2051f6a75 100644
--- a/src/superio/nsc/pc87417/pc87417.h
+++ b/src/superio/nsc/pc87417/pc87417.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_NSC_PC87417_PC87417_H
+#define SUPERIO_NSC_PC87417_PC87417_H
+
#define PC87417_FDC 0x00 /* Floppy */
#define PC87417_PP 0x01 /* Parallel Port */
#define PC87417_SP2 0x02 /* Com2 */
@@ -116,3 +119,4 @@ void pc87417_enable_serial(device_t dev, unsigned iobase);
void pc87417_enable_dev(device_t dev);
#endif
+#endif