From 9a7670f1a30307ab226294cb95a81da3bf94e0ee Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 3 Aug 2022 21:03:12 +0200 Subject: soc/amd/cezanne/cppc: reduce visibility of cpu_init_cppc_config This function is only called from the same compilation unit, so turn it into a static function. Signed-off-by: Felix Held Change-Id: I5c2deaa46f69c763df9612e39415b37c60d631be Reviewed-on: https://review.coreboot.org/c/coreboot/+/66398 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas Reviewed-by: Fred Reitberger Reviewed-by: Matt DeVillier --- src/soc/amd/cezanne/cppc.c | 2 +- src/soc/amd/cezanne/include/soc/cppc.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/soc') diff --git a/src/soc/amd/cezanne/cppc.c b/src/soc/amd/cezanne/cppc.c index 1afa26f3e1..b2553410e3 100644 --- a/src/soc/amd/cezanne/cppc.c +++ b/src/soc/amd/cezanne/cppc.c @@ -11,7 +11,7 @@ * For now this function 'punts' on version 3 and just * populates the additional fields with 'unsupported'. */ -void cpu_init_cppc_config(struct cppc_config *config, u32 version) +static void cpu_init_cppc_config(struct cppc_config *config, u32 version) { config->version = version; diff --git a/src/soc/amd/cezanne/include/soc/cppc.h b/src/soc/amd/cezanne/include/soc/cppc.h index 41f668775c..7961f60794 100644 --- a/src/soc/amd/cezanne/include/soc/cppc.h +++ b/src/soc/amd/cezanne/include/soc/cppc.h @@ -7,7 +7,6 @@ #include struct cppc_config; -void cpu_init_cppc_config(struct cppc_config *config, u32 version); void generate_cppc_entries(unsigned int core_id); #endif /* AMD_CEZANNE_CPPC_H */ -- cgit v1.2.3