soc/amd/picasso/chip: make soc_acpi_name static

This function isn't used outside of the same compilation unit.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I332046341bc7a5a499355f2147296e8c09d7e0ce
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50817
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2021-02-16 23:23:00 +01:00
parent e54d784d02
commit 61e60d1c16
2 changed files with 1 additions and 3 deletions

View File

@ -25,7 +25,7 @@ struct device_operations cpu_bus_ops = {
.acpi_fill_ssdt = generate_cpu_entries, .acpi_fill_ssdt = generate_cpu_entries,
}; };
const char *soc_acpi_name(const struct device *dev) static const char *soc_acpi_name(const struct device *dev)
{ {
if (dev->path.type == DEVICE_PATH_DOMAIN) if (dev->path.type == DEVICE_PATH_DOMAIN)
return "PCI0"; return "PCI0";

View File

@ -11,6 +11,4 @@
uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current, uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current,
acpi_rsdp_t *rsdp); acpi_rsdp_t *rsdp);
const char *soc_acpi_name(const struct device *dev);
#endif /* AMD_PICASSO_ACPI_H */ #endif /* AMD_PICASSO_ACPI_H */