From 61e60d1c160fa7fbff9d68b8629c07960bd40e72 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 16 Feb 2021 23:23:00 +0100 Subject: 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 Change-Id: I332046341bc7a5a499355f2147296e8c09d7e0ce Reviewed-on: https://review.coreboot.org/c/coreboot/+/50817 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/soc/amd/picasso/chip.c | 2 +- src/soc/amd/picasso/include/soc/acpi.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/soc/amd/picasso/chip.c b/src/soc/amd/picasso/chip.c index 8722d57b7d..e0510a26de 100644 --- a/src/soc/amd/picasso/chip.c +++ b/src/soc/amd/picasso/chip.c @@ -25,7 +25,7 @@ struct device_operations cpu_bus_ops = { .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) return "PCI0"; diff --git a/src/soc/amd/picasso/include/soc/acpi.h b/src/soc/amd/picasso/include/soc/acpi.h index 254e5d909e..804b27cd0c 100644 --- a/src/soc/amd/picasso/include/soc/acpi.h +++ b/src/soc/amd/picasso/include/soc/acpi.h @@ -11,6 +11,4 @@ uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current, acpi_rsdp_t *rsdp); -const char *soc_acpi_name(const struct device *dev); - #endif /* AMD_PICASSO_ACPI_H */ -- cgit v1.2.3