msm: cpufreq: Disable cpufreq on APQ8064

Prevent the cpufreq driver from running on APQ8064.

Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
diff --git a/arch/arm/mach-msm/cpufreq.c b/arch/arm/mach-msm/cpufreq.c
index 99dfe11..637832d 100644
--- a/arch/arm/mach-msm/cpufreq.c
+++ b/arch/arm/mach-msm/cpufreq.c
@@ -26,6 +26,7 @@
 #include <linux/cpumask.h>
 #include <linux/sched.h>
 #include <linux/suspend.h>
+#include <mach/socinfo.h>
 
 #include "acpuclock.h"
 
@@ -172,6 +173,9 @@
 	struct cpufreq_work_struct *cpu_work = NULL;
 #endif
 
+	if (cpu_is_apq8064())
+		return -ENODEV;
+
 	table = cpufreq_frequency_get_table(policy->cpu);
 	if (cpufreq_frequency_table_cpuinfo(policy, table)) {
 #ifdef CONFIG_MSM_CPU_FREQ_SET_MIN_MAX