Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b96e80e3237777e5d7994a720ab722eb8f7edc60
Commit:     b96e80e3237777e5d7994a720ab722eb8f7edc60
Parent:     9101be532a3c60c7e8773868395e3b75259d84c3
Author:     David Rientjes <[EMAIL PROTECTED]>
AuthorDate: Mon Apr 30 07:34:37 2007 -0700
Committer:  Dave Jones <[EMAIL PROTECTED]>
CommitDate: Mon Apr 30 15:42:48 2007 -0400

    [CPUFREQ] do not declare undefined functions
    
    fill_powernow_table_pstate() and fill_powernow_table_fidvid() are only
    defined and used for X86_POWERNOW_K8_ACPI.
    
    Signed-off-by: David Rientjes <[EMAIL PROTECTED]>
    Signed-off-by: Dave Jones <[EMAIL PROTECTED]>
---
 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
index 0fb2a30..95be501 100644
--- 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[])
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to