diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-02-16 23:23:00 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-02-18 01:14:26 +0000 |
commit | 61e60d1c160fa7fbff9d68b8629c07960bd40e72 (patch) | |
tree | a5a1e1e0bcf21a6c879e778c2992140808f1ffda /src/soc/amd/picasso | |
parent | e54d784d02a59f8266e7898c34a05f00893cdc77 (diff) |
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>
Diffstat (limited to 'src/soc/amd/picasso')
-rw-r--r-- | src/soc/amd/picasso/chip.c | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/include/soc/acpi.h | 2 |
2 files changed, 1 insertions, 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 */ |