From 9541d1792a38c4e500edb1de0570002355423808 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 5 Jan 2021 00:56:10 +0100 Subject: soc/amd/picasso/root_complex: add missing set_resources The set_resources field in the root_complex_operations struct shouldn't be NULL, but a pointer to noop_set_resources instead. This fixes the error "PCI: 00:00.0 missing set_resources". Change-Id: I2d9f3850b3051c92cd9c0f52f8570f4fd6133070 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/49120 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/soc/amd/picasso/root_complex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/amd') diff --git a/src/soc/amd/picasso/root_complex.c b/src/soc/amd/picasso/root_complex.c index 7ca44b02a7..045f30cf4c 100644 --- a/src/soc/amd/picasso/root_complex.c +++ b/src/soc/amd/picasso/root_complex.c @@ -264,6 +264,7 @@ static void root_complex_fill_ssdt(const struct device *device) static struct device_operations root_complex_operations = { .read_resources = read_resources, + .set_resources = noop_set_resources, .enable_resources = pci_dev_enable_resources, .acpi_fill_ssdt = root_complex_fill_ssdt, }; -- cgit v1.2.3