aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801dx
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-28 16:54:45 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-06-30 09:20:02 +0000
commitbdcccc0b88bc10e299468e317d24a78367536fb2 (patch)
tree093d7de361be6ae5f36fd15e4ffb63826dba047a /src/southbridge/intel/i82801dx
parent05ba1e9bf2cf34c34de2d5ac62c827ac6d016cf8 (diff)
sb/intel: Add include guards on nvs.h
Change-Id: I110974f3161f2991536df50acdfe32f68bd2cc60 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42850 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/intel/i82801dx')
-rw-r--r--src/southbridge/intel/i82801dx/nvs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/southbridge/intel/i82801dx/nvs.h b/src/southbridge/intel/i82801dx/nvs.h
index 3cd0afb1a9..1f8f6d1ad1 100644
--- a/src/southbridge/intel/i82801dx/nvs.h
+++ b/src/southbridge/intel/i82801dx/nvs.h
@@ -1,5 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef SOUTHBRIDGE_INTEL_I82801DX_NVS_H
+#define SOUTHBRIDGE_INTEL_I82801DX_NVS_H
+
+#include <stdint.h>
+
struct __packed global_nvs {
/* Miscellaneous */
u16 osys; /* 0x00 - Operating System */
@@ -96,3 +101,5 @@ struct __packed global_nvs {
u8 bten;
u8 rsvd13[14];
};
+
+#endif /* SOUTHBRIDGE_INTEL_I82801DX_NVS_H */