summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-06-21 15:46:45 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-25 12:51:35 +0000
commite233a916d01198cf61c67ba8fe14f3f7fad5a862 (patch)
treecec58ae0059b0432f485fc05859af40d90dbecc6 /src/southbridge
parent75bc530aa5b0ae680bb58731ed0ad8ca2e444da7 (diff)
sb/intel/i82801{gx,jx}/nvs.h: Add include guards
Change-Id: Ib7eb3469b03fd58afa1f6cb5822f7c6f1cac35e0 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42645 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/i82801gx/nvs.h4
-rw-r--r--src/southbridge/intel/i82801jx/nvs.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/southbridge/intel/i82801gx/nvs.h b/src/southbridge/intel/i82801gx/nvs.h
index 6b697f224e..3f44330e5d 100644
--- a/src/southbridge/intel/i82801gx/nvs.h
+++ b/src/southbridge/intel/i82801gx/nvs.h
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef SOUTHBRIDGE_INTEL_I82801GX_NVS_H
+#define SOUTHBRIDGE_INTEL_I82801GX_NVS_H
#include <stdint.h>
typedef struct {
@@ -97,3 +99,5 @@ typedef struct {
} __packed global_nvs_t;
void acpi_create_gnvs(global_nvs_t *gnvs);
+
+#endif /* SOUTHBRIDGE_INTEL_I82801GX_NVS_H */
diff --git a/src/southbridge/intel/i82801jx/nvs.h b/src/southbridge/intel/i82801jx/nvs.h
index 6b697f224e..c4879189ee 100644
--- a/src/southbridge/intel/i82801jx/nvs.h
+++ b/src/southbridge/intel/i82801jx/nvs.h
@@ -1,5 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef SOUTHBRIDGE_INTEL_I82801JX_NVS_H
+#define SOUTHBRIDGE_INTEL_I82801JX_NVS_H
#include <stdint.h>
typedef struct {
@@ -97,3 +99,5 @@ typedef struct {
} __packed global_nvs_t;
void acpi_create_gnvs(global_nvs_t *gnvs);
+
+#endif /* SOUTHBRIDGE_INTEL_I82801JX_NVS_H */