diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-01-05 00:56:10 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-01-06 17:21:13 +0000 |
commit | 9541d1792a38c4e500edb1de0570002355423808 (patch) | |
tree | 0c9e1ee5af3510db0448783b236ec643594b5041 /src/soc | |
parent | 15dd9b89962a184cba4974c571960fe468f2a103 (diff) |
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>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/picasso/root_complex.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, }; |