summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/common/block/sata/sata.c6
-rw-r--r--src/soc/amd/stoneyridge/chip.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/sata/sata.c b/src/soc/amd/common/block/sata/sata.c
index e95587eafc..f9b6549494 100644
--- a/src/soc/amd/common/block/sata/sata.c
+++ b/src/soc/amd/common/block/sata/sata.c
@@ -8,11 +8,17 @@
void __weak soc_enable_sata_features(struct device *dev) { }
+static const char *sata_acpi_name(const struct device *dev)
+{
+ return "STCR";
+}
+
static struct device_operations sata_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = soc_enable_sata_features,
+ .acpi_name = sata_acpi_name,
};
static const unsigned short pci_device_ids[] = {
diff --git a/src/soc/amd/stoneyridge/chip.c b/src/soc/amd/stoneyridge/chip.c
index 189f48e8e9..b063c7287f 100644
--- a/src/soc/amd/stoneyridge/chip.c
+++ b/src/soc/amd/stoneyridge/chip.c
@@ -87,8 +87,6 @@ const char *soc_acpi_name(const struct device *dev)
return "EHC0";
case LPC_DEVFN:
return "LPCB";
- case SATA_DEVFN:
- return "STCR";
case SD_DEVFN:
return "SDCN";
case SMBUS_DEVFN: