If we provide a definition for acpi_processor_get_bios_limit(), we will encounter build errors (multiple definitions of the function) when we do not have CONFIG_CPU_FREQ configured. We've already changed the modules that depend on this function to only get built when CONFIG_CPU_FREQ is configured, so removing the definition when unconfigured is safe. Cc: Thomas Renninger <trenn@xxxxxxx> Cc: Len Brown <lenb@xxxxxxxxxx> Signed-off-by: Alex Chiang <achiang@xxxxxx> --- include/acpi/processor.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/include/acpi/processor.h b/include/acpi/processor.h index c94f9f0..9db2159 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -318,11 +318,6 @@ static inline int acpi_processor_ppc_has_changed(struct acpi_processor *pr, } return 0; } -int acpi_processor_get_bios_limit(int cpu, unsigned int *limit) -{ - return -ENODEV; -} - #endif /* CONFIG_CPU_FREQ */ /* in processor_throttling.c */ -- To unsubscribe from this list: send the line "unsubscribe cpufreq" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html