summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc97307
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/pc97307
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/pc97307')
-rw-r--r--src/superio/nsc/pc97307/chip.h6
-rw-r--r--src/superio/nsc/pc97307/pc97307.h4
2 files changed, 7 insertions, 3 deletions
diff --git a/src/superio/nsc/pc97307/chip.h b/src/superio/nsc/pc97307/chip.h
index efc5bb8994..43e8044ea5 100644
--- a/src/superio/nsc/pc97307/chip.h
+++ b/src/superio/nsc/pc97307/chip.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _SUPERIO_NSC_PC97307
-#define _SUPERIO_NSC_PC97307
+#ifndef SUPERIO_NSC_PC97307_CHIP_H
+#define SUPERIO_NSC_PC97307_CHIP_H
#ifndef PNP_INDEX_REG
#define PNP_INDEX_REG 0x15C
@@ -37,4 +37,4 @@ struct superio_nsc_pc97307_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
-#endif /* _SUPERIO_NSC_PC97307 */
+#endif
diff --git a/src/superio/nsc/pc97307/pc97307.h b/src/superio/nsc/pc97307/pc97307.h
index e917d9ce4f..1e15281a00 100644
--- a/src/superio/nsc/pc97307/pc97307.h
+++ b/src/superio/nsc/pc97307/pc97307.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_NSC_PC97307_PC97307_H
+#define SUPERIO_NSC_PC97307_PC97307_H
+
#define PC97307_KBCK 0x00 /* Keyboard */
#define PC97307_KBCM 0x01 /* Mouse */
#define PC97307_RTC 0x02 /* Real-Time Clock */
@@ -28,3 +31,4 @@
#define PC97307_GPIO 0x07
#define PC97307_PM 0x08 /* Power Management */
+#endif