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:
@@ -11,7 +11,7 @@
|
|||||||
* For now this function 'punts' on version 3 and just
|
* For now this function 'punts' on version 3 and just
|
||||||
* populates the additional fields with 'unsupported'.
|
* 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;
|
config->version = version;
|
||||||
|
|
||||||
|
@@ -7,7 +7,6 @@
|
|||||||
#include <acpi/acpigen.h>
|
#include <acpi/acpigen.h>
|
||||||
|
|
||||||
struct cppc_config;
|
struct cppc_config;
|
||||||
void cpu_init_cppc_config(struct cppc_config *config, u32 version);
|
|
||||||
void generate_cppc_entries(unsigned int core_id);
|
void generate_cppc_entries(unsigned int core_id);
|
||||||
|
|
||||||
#endif /* AMD_CEZANNE_CPPC_H */
|
#endif /* AMD_CEZANNE_CPPC_H */
|
||||||
|
Reference in New Issue
Block a user