soc/amd/cezanne/root_complex: provide ACPI name in PCI device_operations

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I7f17348b1146a07fcb3e905122d7185b60da962f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50823
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Felix Held 2021-02-17 00:05:34 +01:00
parent 51c4d68fa7
commit b284013065
1 changed files with 6 additions and 0 deletions

View File

@ -130,10 +130,16 @@ static void read_resources(struct device *dev)
}
}
static const char *gnb_acpi_name(const struct device *dev)
{
return "GNB";
}
static struct device_operations root_complex_operations = {
.read_resources = read_resources,
.set_resources = noop_set_resources,
.enable_resources = pci_dev_enable_resources,
.acpi_name = gnb_acpi_name,
};
static const struct pci_driver family17_root_complex __pci_driver = {