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>
This commit is contained in:
Felix Held 2023-10-23 21:26:54 +02:00
parent ab8a094cf0
commit 10e478c4cf
1 changed files with 1 additions and 2 deletions

View File

@ -53,7 +53,6 @@ struct device_operations {
unsigned long *current); unsigned long *current);
void (*get_smbios_strings)(struct device *dev, struct smbios_type11 *t); 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 (*write_acpi_tables)(const struct device *dev,
unsigned long start, struct acpi_rsdp *rsdp); unsigned long start, struct acpi_rsdp *rsdp);
void (*acpi_fill_ssdt)(const struct device *dev); void (*acpi_fill_ssdt)(const struct device *dev);
@ -61,7 +60,7 @@ struct device_operations {
const char *(*acpi_name)(const struct device *dev); const char *(*acpi_name)(const struct device *dev);
/* Returns the optional _HID (Hardware ID) */ /* Returns the optional _HID (Hardware ID) */
const char *(*acpi_hid)(const struct device *dev); const char *(*acpi_hid)(const struct device *dev);
#endif
const struct pci_operations *ops_pci; const struct pci_operations *ops_pci;
const struct i2c_bus_operations *ops_i2c_bus; const struct i2c_bus_operations *ops_i2c_bus;
const struct spi_bus_operations *ops_spi_bus; const struct spi_bus_operations *ops_spi_bus;