summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/common/block/sata/sata.c
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-27 17:57:03 -0700
committerFurquan Shaikh <furquan@google.com>2020-04-28 22:57:08 +0000
commit64f477b401ecc885ba678c77d01757118c84bd55 (patch)
treed69487dbc158080996f5aeb24af14b9347b306e3 /src/soc/amd/common/block/sata/sata.c
parent52f8926159917d87cc33c33183225be7eb470e0d (diff)
downloadcoreboot-64f477b401ecc885ba678c77d01757118c84bd55.tar.gz
coreboot-64f477b401ecc885ba678c77d01757118c84bd55.tar.bz2
coreboot-64f477b401ecc885ba678c77d01757118c84bd55.zip
soc/amd/common/block/sata: Add missing .ops_pci member
This change sets .ops_pci for sata device_operations to default pci_dev_ops_pci. It is required to set the subsystem IDs making the behavior consistent with default_pci_ops_dev. BUG=b:153858769 Change-Id: I695ac8961c92a3061beca890f5d47413b251e22b Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40777 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common/block/sata/sata.c')
-rw-r--r--src/soc/amd/common/block/sata/sata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/sata/sata.c b/src/soc/amd/common/block/sata/sata.c
index 4db00b1d6e4d..1959d3d8604d 100644
--- a/src/soc/amd/common/block/sata/sata.c
+++ b/src/soc/amd/common/block/sata/sata.c
@@ -19,6 +19,7 @@ static struct device_operations sata_ops = {
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = soc_enable_sata_features,
+ .ops_pci = &pci_dev_ops_pci,
.acpi_name = sata_acpi_name,
.acpi_fill_ssdt = acpi_device_write_pci_dev,
};