summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc97317
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nsc/pc97317')
-rw-r--r--src/superio/nsc/pc97317/chip.h6
-rw-r--r--src/superio/nsc/pc97317/pc97317.h5
2 files changed, 8 insertions, 3 deletions
diff --git a/src/superio/nsc/pc97317/chip.h b/src/superio/nsc/pc97317/chip.h
index 8496282482..798561ba36 100644
--- a/src/superio/nsc/pc97317/chip.h
+++ b/src/superio/nsc/pc97317/chip.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _SUPERIO_NSC_PC97317
-#define _SUPERIO_NSC_PC97317
+#ifndef SUPERIO_NSC_PC97317_CHIP_H
+#define SUPERIO_NSC_PC97317_CHIP_H
#ifndef PNP_INDEX_REG
#define PNP_INDEX_REG 0x15C
@@ -38,4 +38,4 @@ struct superio_nsc_pc97317_config {
struct pc_keyboard keyboard;
};
-#endif /* _SUPERIO_NSC_PC97317 */
+#endif
diff --git a/src/superio/nsc/pc97317/pc97317.h b/src/superio/nsc/pc97317/pc97317.h
index 29339f119c..d395367ab9 100644
--- a/src/superio/nsc/pc97317/pc97317.h
+++ b/src/superio/nsc/pc97317/pc97317.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_NSC_PC97317_PC97317_H
+#define SUPERIO_NSC_PC97317_PC97317_H
+
#define PC97317_KBCK 0x00 /* Keyboard */
#define PC97317_KBCM 0x01 /* Mouse */
#define PC97317_RTC 0x02 /* Real-Time Clock */
@@ -27,3 +30,5 @@
#define PC97317_SP1 0x06 /* Com1 */
#define PC97317_GPIO 0x07
#define PC97317_PM 0x08 /* Power Management */
+
+#endif