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 <felix-coreboot@felixheld.de> Change-Id: I5c2deaa46f69c763df9612e39415b37c60d631be Reviewed-on: https://review.coreboot.org/c/coreboot/+/66398 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
This commit is contained in:
parent
5ec1c14058
commit
9a7670f1a3
2 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue