summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc87427
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nsc/pc87427')
-rw-r--r--src/superio/nsc/pc87427/chip.h5
-rw-r--r--src/superio/nsc/pc87427/pc87427.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/src/superio/nsc/pc87427/chip.h b/src/superio/nsc/pc87427/chip.h
index bc6afcdffc..531e2df58e 100644
--- a/src/superio/nsc/pc87427/chip.h
+++ b/src/superio/nsc/pc87427/chip.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_NSC_PC87427_CHIP_H
+#define SUPERIO_NSC_PC87427_CHIP_H
+
extern struct chip_operations superio_nsc_pc87427_ops;
#include <pc80/keyboard.h>
@@ -28,3 +31,5 @@ struct superio_nsc_pc87427_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/nsc/pc87427/pc87427.h b/src/superio/nsc/pc87427/pc87427.h
index 304c9f7f9c..55330354b5 100644
--- a/src/superio/nsc/pc87427/pc87427.h
+++ b/src/superio/nsc/pc87427/pc87427.h
@@ -1,3 +1,6 @@
+#ifndef SUPERIO_NSC_PC87427_PC87427_H
+#define SUPERIO_NSC_PC87427_PC87427_H
+
#define PC87427_FDC 0x00 /* Floppy */
#define PC87427_SP2 0x02 /* Com2 */
#define PC87427_SP1 0x03 /* Com1 */
@@ -91,4 +94,4 @@
#define PC87427_XSCNF 0x15
#define PC87427_XWBCNF 0x16
-
+#endif