When building as module: ERROR: "cpufreq_gov_performance" [arch/arm/plat-mxc/cpufreq.ko] undefined! WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 It's due to the driver using CPUFREQ_DEFAULT_GOVERNOR, even it should not (see commit 8122c6cea033e8034e99d3b10a4e3f377ce23994 in Linus tree), so remove it. Signed-off-by: Arnaud Patard Index: linux-2.6-submit/arch/arm/plat-mxc/cpufreq.c =================================================================== --- linux-2.6-submit.orig/arch/arm/plat-mxc/cpufreq.c 2010-12-01 08:47:34.000000000 +0100 +++ linux-2.6-submit/arch/arm/plat-mxc/cpufreq.c 2010-12-01 08:47:39.000000000 +0100 @@ -144,7 +144,6 @@ imx_freq_table[i].frequency = CPUFREQ_TABLE_END; policy->cur = clk_get_rate(cpu_clk) / 1000; - policy->governor = CPUFREQ_DEFAULT_GOVERNOR; policy->min = policy->cpuinfo.min_freq = cpu_freq_khz_min; policy->max = policy->cpuinfo.max_freq = cpu_freq_khz_max;