summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/cezanne/cppc.c2
-rw-r--r--src/soc/amd/cezanne/include/soc/cppc.h1
2 files changed, 1 insertions, 2 deletions
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 <acpi/acpigen.h>
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 */