summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc8374
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nsc/pc8374')
-rw-r--r--src/superio/nsc/pc8374/chip.h5
-rw-r--r--src/superio/nsc/pc8374/pc8374.h7
2 files changed, 11 insertions, 1 deletions
diff --git a/src/superio/nsc/pc8374/chip.h b/src/superio/nsc/pc8374/chip.h
index 2ef9f70ddc..9e5e8dda85 100644
--- a/src/superio/nsc/pc8374/chip.h
+++ b/src/superio/nsc/pc8374/chip.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_NSC_PC8374_CHIP_H
+#define SUPERIO_NSC_PC8374_CHIP_H
+
struct chip_operations;
extern struct chip_operations superio_nsc_pc8374_ops;
@@ -29,3 +32,5 @@ struct superio_nsc_pc8374_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/nsc/pc8374/pc8374.h b/src/superio/nsc/pc8374/pc8374.h
index 71162d6156..1b1594d042 100644
--- a/src/superio/nsc/pc8374/pc8374.h
+++ b/src/superio/nsc/pc8374/pc8374.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_NSC_PC8374_PC8374_H
+#define SUPERIO_NSC_PC8374_PC8374_H
+
#define PC8374_FDC 0x00 /* Floppy */
#define PC8374_PP 0x01 /* Parallel port */
#define PC8374_SP2 0x02 /* Com2 */
@@ -27,4 +30,6 @@
#define PC8374_KBCM 0x05 /* Mouse */
#define PC8374_KBCK 0x06 /* Keyboard */
#define PC8374_GPIO 0x07
-#define PC8374_HM 0x08
+#define PC8374_HM 0x08
+
+#endif