All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] cpufreq: do not declare undefined functions
@ 2007-04-30 14:34 David Rientjes
  2007-04-30 15:59 ` Dave Jones
  0 siblings, 1 reply; 6+ messages in thread
From: David Rientjes @ 2007-04-30 14:34 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

fill_powernow_table_pstate() and fill_powernow_table_fidvid() are only
defined and used for X86_POWERNOW_K8_ACPI.

Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: David Rientjes <rientjes@google.com>
---
 arch/i386/kernel/cpu/cpufreq/powernow-k8.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.h b/arch/i386/kernel/cpu/cpufreq/powernow-k8.h
--- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.h
+++ b/arch/i386/kernel/cpu/cpufreq/powernow-k8.h
@@ -215,8 +215,10 @@ static int core_frequency_transition(struct powernow_k8_data *data, u32 reqfid);
 
 static void powernow_k8_acpi_pst_values(struct powernow_k8_data *data, unsigned int index);
 
+#ifdef CONFIG_X86_POWERNOW_K8_ACPI
 static int fill_powernow_table_pstate(struct powernow_k8_data *data, struct cpufreq_frequency_table *powernow_table);
 static int fill_powernow_table_fidvid(struct powernow_k8_data *data, struct cpufreq_frequency_table *powernow_table);
+#endif
 
 #ifdef CONFIG_SMP
 static inline void define_siblings(int cpu, cpumask_t cpu_sharedcore_mask[])

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-04-30 19:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30 14:34 [patch] cpufreq: do not declare undefined functions David Rientjes
2007-04-30 15:59 ` Dave Jones
2007-04-30 18:42   ` David Rientjes
2007-04-30 18:52     ` Dave Jones
2007-04-30 19:10       ` David Rientjes
2007-04-30 19:35         ` Dave Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.