diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-11-16 13:38:14 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-11-17 15:12:59 +0000 |
commit | ab8a094cf05fbdbf559465f57c2f7ce250612bac (patch) | |
tree | 7b6da19eb98fef2a380d04a25f50830c40f1fa4c /src/include/device | |
parent | 823f95e8a39bb81e3a35dbf454063a0b119d1a0d (diff) |
include/device/device: drop GENERATE_SMBIOS_TABLES guards
There's no need to remove the corresponding fields from the
device_operations struct when GENERATE_SMBIOS_TABLES isn't selected.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ifa24d1fd211c263b788046e63de3dd5c54cba801
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79092
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/include/device')
-rw-r--r-- | src/include/device/device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index 68e2622f41..07b71ece0a 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -48,11 +48,11 @@ struct device_operations { void (*enable)(struct device *dev); void (*vga_disable)(struct device *dev); void (*reset_bus)(struct bus *bus); -#if CONFIG(GENERATE_SMBIOS_TABLES) + int (*get_smbios_data)(struct device *dev, int *handle, unsigned long *current); void (*get_smbios_strings)(struct device *dev, struct smbios_type11 *t); -#endif + #if CONFIG(HAVE_ACPI_TABLES) unsigned long (*write_acpi_tables)(const struct device *dev, unsigned long start, struct acpi_rsdp *rsdp); |