summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-04-10 18:04:59 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-01 06:15:57 +0000
commitc712144124764627644280e6341268e3dd7f67ab (patch)
tree70f0846dedcfc094c269011378d87032dc2462ee
parent8d09cf61860e743b35a9158163654c8d2bd3c189 (diff)
include/device/device.h: Include <smbios.h>
smbios_slot_{type,data_width,length,designation} used for smbios_type_9 needs "smbios.h" Also use already defined 'smbios_type11' in "smbios.h". This will also include <smbios.h> in "static.c" file, this we can remove indirect includes of <smbios.h> in "chip.h" Change-Id: Id412a504da2fd75648636febd150356569e07935 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40310 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/include/device/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index c21067deeb..72df751054 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -5,6 +5,7 @@
#include <device/resource.h>
#include <device/path.h>
#include <device/pci_type.h>
+#include <smbios.h>
#include <types.h>
struct device;
@@ -29,7 +30,6 @@ struct chip_operations {
struct bus;
-struct smbios_type11;
struct acpi_rsdp;
struct device_operations {