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>
diff --git a/src/northbridge/intel/sandybridge/pcie.c b/src/northbridge/intel/sandybridge/pcie.c
index ec737a2..96fb12f 100644
--- a/src/northbridge/intel/sandybridge/pcie.c
+++ b/src/northbridge/intel/sandybridge/pcie.c
@@ -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 @@
return NULL;
}
-#endif
static struct device_operations device_ops = {
.read_resources = pci_bus_read_resources,
@@ -51,9 +49,7 @@
.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[] = {