nb/intel/sandybridge/pcie: drop unneeded HAVE_ACPI_TABLES guards

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I1e8c8b3e3672d1589a5910753986e4033d2ce766
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79116
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Felix Held 2023-11-16 14:14:33 +01:00
parent 8742577548
commit b164d7a291
1 changed files with 0 additions and 4 deletions

View File

@ -6,7 +6,6 @@
#include <device/pci_ids.h>
#include <assert.h>
#if CONFIG(HAVE_ACPI_TABLES)
static const char *pcie_acpi_name(const struct device *dev)
{
assert(dev);
@ -41,7 +40,6 @@ static const char *pcie_acpi_name(const struct device *dev)
return NULL;
}
#endif
static struct device_operations device_ops = {
.read_resources = pci_bus_read_resources,
@ -51,9 +49,7 @@ static struct device_operations device_ops = {
.reset_bus = pci_bus_reset,
.init = pci_dev_init,
.ops_pci = &pci_dev_ops_pci,
#if CONFIG(HAVE_ACPI_TABLES)
.acpi_name = pcie_acpi_name,
#endif
};
static const unsigned short pci_device_ids[] = {