aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-11-16 14:14:33 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-12-04 17:54:36 +0000
commitb164d7a291ac0a4fefe17a017e6e78a8f42befe3 (patch)
treefc5edc409011a8966ddfbbd01a7bd5db7b8db74c
parent87425775484d8381b31ff3323c290b1862698220 (diff)
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>
-rw-r--r--src/northbridge/intel/sandybridge/pcie.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/northbridge/intel/sandybridge/pcie.c b/src/northbridge/intel/sandybridge/pcie.c
index ec737a2651..96fb12fd51 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 @@ 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[] = {