Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/79092?usp=email )
Change subject: include/device/device: drop GENERATE_SMBIOS_TABLES guards ......................................................................
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 --- M src/include/device/device.h 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/79092/1
diff --git a/src/include/device/device.h b/src/include/device/device.h index 68e2622..07b71ec 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -48,11 +48,11 @@ 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);