summaryrefslogtreecommitdiff
path: root/src/superio/winbond
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/winbond
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/winbond')
-rw-r--r--src/superio/winbond/w83627dhg/chip.h5
-rw-r--r--src/superio/winbond/w83627dhg/w83627dhg.h5
-rw-r--r--src/superio/winbond/w83627ehg/chip.h5
-rw-r--r--src/superio/winbond/w83627ehg/w83627ehg.h4
-rw-r--r--src/superio/winbond/w83627hf/chip.h5
-rw-r--r--src/superio/winbond/w83627hf/w83627hf.h4
-rw-r--r--src/superio/winbond/w83627thf/chip.h5
-rw-r--r--src/superio/winbond/w83627thf/w83627thf.h5
-rw-r--r--src/superio/winbond/w83627thg/chip.h5
-rw-r--r--src/superio/winbond/w83627thg/w83627thg.h5
-rw-r--r--src/superio/winbond/w83627uhg/chip.h5
-rw-r--r--src/superio/winbond/w83627uhg/w83627uhg.h5
-rw-r--r--src/superio/winbond/w83697hf/chip.h5
-rw-r--r--src/superio/winbond/w83697hf/w83697hf.h5
-rw-r--r--src/superio/winbond/w83977f/chip.h5
-rw-r--r--src/superio/winbond/w83977f/w83977f.h5
-rw-r--r--src/superio/winbond/w83977tf/chip.h5
-rw-r--r--src/superio/winbond/w83977tf/w83977tf.h5
18 files changed, 84 insertions, 4 deletions
diff --git a/src/superio/winbond/w83627dhg/chip.h b/src/superio/winbond/w83627dhg/chip.h
index b948ba3f1c..4aec1bf741 100644
--- a/src/superio/winbond/w83627dhg/chip.h
+++ b/src/superio/winbond/w83627dhg/chip.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83627DHG_CHIP_H
+#define SUPERIO_WINBOND_W83627DHG_CHIP_H
+
#include <pc80/keyboard.h>
#include <uart8250.h>
@@ -27,3 +30,5 @@ struct superio_winbond_w83627dhg_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/winbond/w83627dhg/w83627dhg.h b/src/superio/winbond/w83627dhg/w83627dhg.h
index cd74fe3397..8a1668c4dc 100644
--- a/src/superio/winbond/w83627dhg/w83627dhg.h
+++ b/src/superio/winbond/w83627dhg/w83627dhg.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83627DHG_W83627DHG_H
+#define SUPERIO_WINBOND_W83627DHG_W83627DHG_H
+
#define W83627DHG_FDC 0 /* Floppy */
#define W83627DHG_PP 1 /* Parallel port */
#define W83627DHG_SP1 2 /* Com1 */
@@ -30,3 +33,5 @@
#define W83627DHG_ACPI 10 /* ACPI */
#define W83627DHG_HWM 11 /* Hardware monitor */
#define W83627DHG_PECI_SST 12 /* PECI, SST */
+
+#endif
diff --git a/src/superio/winbond/w83627ehg/chip.h b/src/superio/winbond/w83627ehg/chip.h
index e95365357a..21a53de4ab 100644
--- a/src/superio/winbond/w83627ehg/chip.h
+++ b/src/superio/winbond/w83627ehg/chip.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83627EHG_CHIP_H
+#define SUPERIO_WINBOND_W83627EHG_CHIP_H
+
#include <pc80/keyboard.h>
#include <uart8250.h>
@@ -28,3 +31,5 @@ struct superio_winbond_w83627ehg_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/winbond/w83627ehg/w83627ehg.h b/src/superio/winbond/w83627ehg/w83627ehg.h
index 2ae8431a28..f03cf0672d 100644
--- a/src/superio/winbond/w83627ehg/w83627ehg.h
+++ b/src/superio/winbond/w83627ehg/w83627ehg.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef __SUPERIO_WINBOND_W83627EHG_W83627EHG_H
-#define __SUPERIO_WINBOND_W83627EHG_W83627EHG_H
+#ifndef SUPERIO_WINBOND_W83627EHG_W83627EHG_H
+#define SUPERIO_WINBOND_W83627EHG_W83627EHG_H
#define W83627EHG_FDC 0 /* Floppy */
#define W83627EHG_PP 1 /* Parallel Port */
diff --git a/src/superio/winbond/w83627hf/chip.h b/src/superio/winbond/w83627hf/chip.h
index e8dfe2ea99..20f3d1782f 100644
--- a/src/superio/winbond/w83627hf/chip.h
+++ b/src/superio/winbond/w83627hf/chip.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83627HF_CHIP_H
+#define SUPERIO_WINBOND_W83627HF_CHIP_H
+
#include <pc80/keyboard.h>
#include <uart8250.h>
@@ -29,3 +32,5 @@ struct superio_winbond_w83627hf_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/winbond/w83627hf/w83627hf.h b/src/superio/winbond/w83627hf/w83627hf.h
index 093084333c..cb186a90f6 100644
--- a/src/superio/winbond/w83627hf/w83627hf.h
+++ b/src/superio/winbond/w83627hf/w83627hf.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef __SUPERIO_WINBOND_W83627HF_W83627HF_H
-#define __SUPERIO_WINBOND_W83627HF_W83627HF_H
+#ifndef SUPERIO_WINBOND_W83627HF_W83627HF_H
+#define SUPERIO_WINBOND_W83627HF_W83627HF_H
#define W83627HF_FDC 0 /* Floppy */
#define W83627HF_PP 1 /* Parallel Port */
diff --git a/src/superio/winbond/w83627thf/chip.h b/src/superio/winbond/w83627thf/chip.h
index 6f45535fa5..427c34f598 100644
--- a/src/superio/winbond/w83627thf/chip.h
+++ b/src/superio/winbond/w83627thf/chip.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83627THF_CHIP_H
+#define SUPERIO_WINBOND_W83627THF_CHIP_H
+
#include <pc80/keyboard.h>
#include <uart8250.h>
@@ -29,3 +32,5 @@ struct superio_winbond_w83627thf_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/winbond/w83627thf/w83627thf.h b/src/superio/winbond/w83627thf/w83627thf.h
index b92234b86b..cc59b9dbb4 100644
--- a/src/superio/winbond/w83627thf/w83627thf.h
+++ b/src/superio/winbond/w83627thf/w83627thf.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83627THF_W83627THF_H
+#define SUPERIO_WINBOND_W83627THF_W83627THF_H
+
#define W83627THF_FDC 0 /* Floppy */
#define W83627THF_PP 1 /* Parallel Port */
#define W83627THF_SP1 2 /* Com1 */
@@ -31,3 +34,5 @@
#define W83627THF_GPIO3 9
#define W83627THF_ACPI 10
#define W83627THF_HWM 11 /* Hardware Monitor */
+
+#endif
diff --git a/src/superio/winbond/w83627thg/chip.h b/src/superio/winbond/w83627thg/chip.h
index 3decc84713..30e0378d99 100644
--- a/src/superio/winbond/w83627thg/chip.h
+++ b/src/superio/winbond/w83627thg/chip.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83627THG_CHIP_H
+#define SUPERIO_WINBOND_W83627THG_CHIP_H
+
#include <pc80/keyboard.h>
#include <uart8250.h>
@@ -29,3 +32,5 @@ struct superio_winbond_w83627thg_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/winbond/w83627thg/w83627thg.h b/src/superio/winbond/w83627thg/w83627thg.h
index 3456f80f42..a00814b6ae 100644
--- a/src/superio/winbond/w83627thg/w83627thg.h
+++ b/src/superio/winbond/w83627thg/w83627thg.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83627THG_W83627THG_H
+#define SUPERIO_WINBOND_W83627THG_W83627THG_H
+
#define W83627THG_FDC 0 /* Floppy */
#define W83627THG_PP 1 /* Parallel Port */
#define W83627THG_SP1 2 /* Com1 */
@@ -30,3 +33,5 @@
#define W83627THG_GPIO3 9
#define W83627THG_ACPI 10
#define W83627THG_HWM 11 /* Hardware Monitor */
+
+#endif
diff --git a/src/superio/winbond/w83627uhg/chip.h b/src/superio/winbond/w83627uhg/chip.h
index fa1a653516..74a41f8feb 100644
--- a/src/superio/winbond/w83627uhg/chip.h
+++ b/src/superio/winbond/w83627uhg/chip.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 $
*/
+#ifndef SUPERIO_WINBOND_W83627UHG_CHIP_H
+#define SUPERIO_WINBOND_W83627UHG_CHIP_H
+
#include <pc80/keyboard.h>
#include <uart8250.h>
@@ -27,3 +30,5 @@ struct superio_winbond_w83627uhg_config {
struct uart8250 com1, com2, com3, com4, com5, com6;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/winbond/w83627uhg/w83627uhg.h b/src/superio/winbond/w83627uhg/w83627uhg.h
index 4dd168e9e6..ca7248f9d5 100644
--- a/src/superio/winbond/w83627uhg/w83627uhg.h
+++ b/src/superio/winbond/w83627uhg/w83627uhg.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 $
*/
+#ifndef SUPERIO_WINBOND_W83627UHG_W83627UHG_H
+#define SUPERIO_WINBOND_W83627UHG_W83627UHG_H
+
#define W83627UHG_FDC 0 /* Floppy */
#define W83627UHG_PP 1 /* Parallel port */
#define W83627UHG_SP1 2 /* Com1 */
@@ -33,3 +36,5 @@
#define W83627UHG_SP4 13 /* Com4 */
#define W83627UHG_SP5 14 /* Com5 */
#define W83627UHG_SP6 15 /* Com6 */
+
+#endif
diff --git a/src/superio/winbond/w83697hf/chip.h b/src/superio/winbond/w83697hf/chip.h
index 3bc316cb6a..cb7aebd9af 100644
--- a/src/superio/winbond/w83697hf/chip.h
+++ b/src/superio/winbond/w83697hf/chip.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83697HF_CHIP_H
+#define SUPERIO_WINBOND_W83697HF_CHIP_H
+
#include <uart8250.h>
extern struct chip_operations superio_winbond_w83697hf_ops;
@@ -25,3 +28,5 @@ extern struct chip_operations superio_winbond_w83697hf_ops;
struct superio_winbond_w83697hf_config {
struct uart8250 com1, com2;
};
+
+#endif
diff --git a/src/superio/winbond/w83697hf/w83697hf.h b/src/superio/winbond/w83697hf/w83697hf.h
index 1bc1bcdf19..3e979c911d 100644
--- a/src/superio/winbond/w83697hf/w83697hf.h
+++ b/src/superio/winbond/w83697hf/w83697hf.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83697HF_W83697HF_H
+#define SUPERIO_WINBOND_W83697HF_W83697HF_H
+
#define W83697HF_FDC 0 /* Floppy */
#define W83697HF_PP 1 /* Parallel Port */
#define W83697HF_SP1 2 /* Com1 */
@@ -28,3 +31,5 @@
#define W83697HF_GPIO234 9 /* GPIO 2, 3, 4 */
#define W83697HF_ACPI 10 /* ACPI */
#define W83697HF_HWM 11 /* Hardware Monitor */
+
+#endif
diff --git a/src/superio/winbond/w83977f/chip.h b/src/superio/winbond/w83977f/chip.h
index 5842299ed1..94a8cb694a 100644
--- a/src/superio/winbond/w83977f/chip.h
+++ b/src/superio/winbond/w83977f/chip.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83977F_CHIP_H
+#define SUPERIO_WINBOND_W83977F_CHIP_H
+
#include <pc80/keyboard.h>
#include <uart8250.h>
@@ -27,3 +30,5 @@ struct superio_winbond_w83977f_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/winbond/w83977f/w83977f.h b/src/superio/winbond/w83977f/w83977f.h
index 0c1c626e5a..25eb1cbc7f 100644
--- a/src/superio/winbond/w83977f/w83977f.h
+++ b/src/superio/winbond/w83977f/w83977f.h
@@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83977F_W83977F_H
+#define SUPERIO_WINBOND_W83977F_W83977F_H
+
#define W83977F_FDC 0 /* Floppy */
#define W83977F_PP 1 /* Parallel Port */
#define W83977F_SP1 2 /* Com1 */
@@ -27,3 +30,5 @@
#define W83977F_IR 6 /* Infrared Port */
#define W83977F_GPIO1 7 /* General Purpose I/O 1 */
#define W83977F_GPIO2 8 /* General Purpose I/O 2 */
+
+#endif
diff --git a/src/superio/winbond/w83977tf/chip.h b/src/superio/winbond/w83977tf/chip.h
index 62ed2833f2..1af2f94d06 100644
--- a/src/superio/winbond/w83977tf/chip.h
+++ b/src/superio/winbond/w83977tf/chip.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83977TF_CHIP_H
+#define SUPERIO_WINBOND_W83977TF_CHIP_H
+
#include <pc80/keyboard.h>
#include <uart8250.h>
@@ -29,3 +32,5 @@ struct superio_winbond_w83977tf_config {
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+
+#endif
diff --git a/src/superio/winbond/w83977tf/w83977tf.h b/src/superio/winbond/w83977tf/w83977tf.h
index c75fc8c8a0..2e0e9232f0 100644
--- a/src/superio/winbond/w83977tf/w83977tf.h
+++ b/src/superio/winbond/w83977tf/w83977tf.h
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef SUPERIO_WINBOND_W83977TF_W83977TF_H
+#define SUPERIO_WINBOND_W83977TF_W83977TF_H
+
#define W83977TF_FDC 0 /* Floppy */
#define W83977TF_PP 1 /* Parallel Port */
#define W83977TF_SP1 2 /* Com1 */
@@ -30,3 +33,5 @@
#define W83977TF_GPIO2 8
#define W83977TF_GPIO3 9
#define W83977TF_ACPI 10
+
+#endif