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 <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49120
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Felix Held 2021-01-05 00:56:10 +01:00
parent 15dd9b8996
commit 9541d1792a
1 changed files with 1 additions and 0 deletions

View File

@ -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,
};