From b284013065aff4f20890b0422444c9022cb54e7c Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 17 Feb 2021 00:05:34 +0100 Subject: soc/amd/cezanne/root_complex: provide ACPI name in PCI device_operations Signed-off-by: Felix Held Change-Id: I7f17348b1146a07fcb3e905122d7185b60da962f Reviewed-on: https://review.coreboot.org/c/coreboot/+/50823 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/soc/amd/cezanne/root_complex.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/soc') diff --git a/src/soc/amd/cezanne/root_complex.c b/src/soc/amd/cezanne/root_complex.c index fbbf86b642..9191dc2481 100644 --- a/src/soc/amd/cezanne/root_complex.c +++ b/src/soc/amd/cezanne/root_complex.c @@ -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 = { -- cgit v1.2.3