summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-10-23 21:26:54 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-11-17 15:13:15 +0000
commit10e478c4cf31e09326065e1126222b49d01eb6fa (patch)
tree670d2536143d6fd276086f20231d9930301c6065 /src/include
parentab8a094cf05fbdbf559465f57c2f7ce250612bac (diff)
include/device/device: drop HAVE_ACPI_TABLES guards
There's no need to remove the corresponding fields from the device_operations struct when HAVE_ACPI_TABLES isn't selected. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Iac20b6cdc44a5280566ee7003a5ef6fbe913b099 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78990 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/device.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 07b71ece0a..113969ca1d 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -53,7 +53,6 @@ struct device_operations {
unsigned long *current);
void (*get_smbios_strings)(struct device *dev, struct smbios_type11 *t);
-#if CONFIG(HAVE_ACPI_TABLES)
unsigned long (*write_acpi_tables)(const struct device *dev,
unsigned long start, struct acpi_rsdp *rsdp);
void (*acpi_fill_ssdt)(const struct device *dev);
@@ -61,7 +60,7 @@ struct device_operations {
const char *(*acpi_name)(const struct device *dev);
/* Returns the optional _HID (Hardware ID) */
const char *(*acpi_hid)(const struct device *dev);
-#endif
+
const struct pci_operations *ops_pci;
const struct i2c_bus_operations *ops_i2c_bus;
const struct spi_bus_operations *ops_spi_bus;